summaryrefslogtreecommitdiff
path: root/avr
diff options
context:
space:
mode:
authorLeo C2015-05-08 22:50:22 +0200
committerLeo C2015-05-08 22:50:22 +0200
commit3f858d9f4836decae37d5a61f221bddf7a2f1e61 (patch)
tree82420e8ddfb262f6b035674eb2594e187c8a6f69 /avr
parent3ad4143bb11dd98f47c80e0b93d39b59c2f8e329 (diff)
downloadz180-stamp-3f858d9f4836decae37d5a61f221bddf7a2f1e61.zip
command 'help <topic>' should return success
Diffstat (limited to 'avr')
-rw-r--r--avr/command.c2
1 files changed, 1 insertions, 1 deletions
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]