diff --git a/README.md b/README.md index e23ba0f..357efdf 100755 --- a/README.md +++ b/README.md @@ -14,8 +14,9 @@ A command-line todo list in Racket Example: `rodo add bread` Note: For multi-word items you will need to - surround your item in double quotes as so: - `rodo add "go to the bank"` + surround your item in double quotes like this: + + `rodo add "go to the bank"` <-- **This is currently broken** * `rm`: removes an item from the list diff --git a/args.rkt b/args.rkt index d7d555d..b43402b 100644 --- a/args.rkt +++ b/args.rkt @@ -18,9 +18,10 @@ (show-list)] [(and - (equal? args-length 2) + (equal? (vector-ref args 0) add-command) (equal? (vector-member add-command args) 0)) - (add-item args)] + (add-item args) + (cdr (vector->list args))] [(and (equal? args-length 2)