summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.md5
-rw-r--r--avr/command.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/TODO.md b/TODO.md
index 625dd16..3ccd0d7 100644
--- a/TODO.md
+++ b/TODO.md
@@ -3,5 +3,8 @@ TODO List
- TODO: eliminate xmalloc
- TODO: build time directory as lib
-- TODO: command 'help <topic>' should return success
- TODO: file search path. 'cd' command?
+
+----------------------------------------------------
+- Done:
+ - command 'help <topic>' should return success
diff --git a/avr/command.c b/avr/command.c
index 46e3a8a..ed25dee 100644
--- a/avr/command.c
+++ b/avr/command.c
@@ -120,7 +120,7 @@ command_ret_t _do_help(cmd_tbl_t *cmd_start, int cmd_items, cmd_tbl_t * cmdtp,
*/
for (i = 1; i < argc; ++i) {
if ((cmdtp = find_cmd_tbl (argv[i], cmd_start, cmd_items )) != NULL) {
- rcode = cmd_usage(cmdtp);
+ cmd_usage(cmdtp);
} else {
printf_P(PSTR("Unknown command '%s' - try 'help'"
" without arguments.\n\n"), argv[i]