updated via script
This commit is contained in:
parent
05b03ea28b
commit
f917f2452b
@ -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
|
||||
|
||||
|
5
args.rkt
5
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user