updated via script
parent
05b03ea28b
commit
f917f2452b
|
@ -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
|
||||||
|
|
||||||
|
|
5
args.rkt
5
args.rkt
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue