updated via script

main
m455 2018-04-16 23:05:18 -04:00
parent 05b03ea28b
commit f917f2452b
2 changed files with 6 additions and 4 deletions

View File

@ -14,8 +14,9 @@ A command-line todo list in Racket
Example: `rodo add bread` Example: `rodo add bread`
Note: For multi-word items you will need to Note: For multi-word items you will need to
surround your item in double quotes as so: surround your item in double quotes like this:
`rodo add "go to the bank"`
`rodo add "go to the bank"` <-- **This is currently broken**
* `rm`: removes an item from the list * `rm`: removes an item from the list

View File

@ -18,9 +18,10 @@
(show-list)] (show-list)]
[(and [(and
(equal? args-length 2) (equal? (vector-ref args 0) add-command)
(equal? (vector-member add-command args) 0)) (equal? (vector-member add-command args) 0))
(add-item args)] (add-item args)
(cdr (vector->list args))]
[(and [(and
(equal? args-length 2) (equal? args-length 2)