updated help command

main
m455 2018-04-13 02:14:51 -04:00
parent 1b007c883f
commit 76673f528d
2 changed files with 17 additions and 11 deletions

View File

@ -2,18 +2,25 @@
A command-line todo list in Racket A command-line todo list in Racket
* `init`: initialize a file in ~/.rodo/todo-list * `init`: initialize a file in ~/.rodo/todo-list
Example: `rodo init` Example: `rodo init`
* `ls`: lists items on the list * `ls`: lists items on the list
Example: `rodo rm 1` Example: `rodo rm 1`
* `add`: adds an item to the list * `add`: adds an item to the list
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 as so:
`rodo add "go to the bank"` `rodo add "go to the bank"`
Example: `rodo add bread`
* `rm`: removes an item from the list * `rm`: removes an item from the list
Example: `rodo rm 1`
Note: You may have to run `rodo ls` to see which Note: You may have to run `rodo ls` to see which
number corresponds to which item to remove it. number corresponds to which item to remove it.
Example: `rodo rm 1`

View File

@ -23,22 +23,21 @@
"\x09Example: " "\x09Example: "
"rodo rm 1\n\n" "rodo rm 1\n\n"
"* " add-command ": " "* " add-command ": "
"adds an item to the list" "adds an item to the list"
"\n" "\n"
"\x09Example: "
"rodo add bread\n\n"
"\x09Note: For multi-word items you will need to\n" "\x09Note: For multi-word items you will need to\n"
"\x09surround your item in double quotes as so:\n" "\x09surround your item in double quotes as so:\n"
"\x09rodo add \"go to the bank\"\n" "\x09rodo add \"go to the bank\"\n"
"\x09Example: "
"rodo add bread\n\n"
"* " remove-command ": " "* " remove-command ": "
"removes an item from the list\n" "removes an item from the list\n"
"\x09Note: You may have to run `rodo ls` to see which\n"
"\x09number corresponds to which item to remove it.\n"
"\x09Example: " "\x09Example: "
"rodo rm 1\n") "rodo rm 1\n"
"\x09Note: You may have to run `rodo ls` to see which\n"
"\x09number corresponds to which item to remove it.\n")
'empty-todo-list 'empty-todo-list
"Error> There is nothing in your list yet\n" "Error> There is nothing in your list yet\n"