From 76673f528d9bf1ad703a33ce5cbce8960c1878ce Mon Sep 17 00:00:00 2001 From: m455 Date: Fri, 13 Apr 2018 02:14:51 -0400 Subject: [PATCH] updated help command --- README.md | 17 ++++++++++++----- messages.rkt | 11 +++++------ 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index e49c7fa..e23ba0f 100755 --- a/README.md +++ b/README.md @@ -2,18 +2,25 @@ A command-line todo list in Racket * `init`: initialize a file in ~/.rodo/todo-list - Example: `rodo init` + + Example: `rodo init` * `ls`: lists items on the list - Example: `rodo rm 1` + + Example: `rodo rm 1` * `add`: adds an item to the list + + 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"` - Example: `rodo add bread` * `rm`: removes an item from the list - Note: You may have to run `rodo ls` to see which + + Example: `rodo rm 1` + + Note: You may have to run `rodo ls` to see which number corresponds to which item to remove it. - Example: `rodo rm 1` + diff --git a/messages.rkt b/messages.rkt index cb38df9..73cc225 100644 --- a/messages.rkt +++ b/messages.rkt @@ -23,22 +23,21 @@ "\x09Example: " "rodo rm 1\n\n" - "* " add-command ": " "adds an item to the list" "\n" + "\x09Example: " + "rodo add bread\n\n" "\x09Note: For multi-word items you will need to\n" "\x09surround your item in double quotes as so:\n" "\x09rodo add \"go to the bank\"\n" - "\x09Example: " - "rodo add bread\n\n" "* " remove-command ": " "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: " - "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 "Error> There is nothing in your list yet\n"