From f917f2452bb7e5696b02ca9b161e560fc850da3b Mon Sep 17 00:00:00 2001 From: m455 Date: Mon, 16 Apr 2018 23:05:18 -0400 Subject: [PATCH] updated via script --- README.md | 5 +++-- args.rkt | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) 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)