summaryrefslogtreecommitdiff
path: root/avr/command.c
diff options
context:
space:
mode:
authorLeo C2014-08-13 21:00:21 +0200
committerLeo C2014-08-13 21:00:21 +0200
commit72f5882239bb88b8a68f305802e0dde37a975604 (patch)
treea932ba22f7174de0fd773cf31d4d914dd548dfdd /avr/command.c
parentd684c21619905153eff68c43927207248925f6c2 (diff)
downloadz180-stamp-72f5882239bb88b8a68f305802e0dde37a975604.zip
Add memory commands (cmp, cp, md, mm, mw, nm)
Add kind of scheduler for background tasks
Diffstat (limited to 'avr/command.c')
-rw-r--r--avr/command.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/avr/command.c b/avr/command.c
index ad39006..9af1c32 100644
--- a/avr/command.c
+++ b/avr/command.c
@@ -67,7 +67,7 @@ int cmd_tbl_item_count(void)
* for long help messages
*/
-int _do_help (cmd_tbl_t *cmd_start, int cmd_items, cmd_tbl_t * cmdtp,
+int _do_help(cmd_tbl_t *cmd_start, int cmd_items, cmd_tbl_t * cmdtp,
int flag, int argc, char * const argv[])
{
uint_fast8_t i;
@@ -177,6 +177,7 @@ int cmd_usage(const FLASH cmd_tbl_t *cmdtp)
// printf("Usage:\n%s ", cmdtp->name);
my_puts_P(PSTR("Usage:\n"));
my_puts_P(cmdtp->name);
+ putchar(' ');
if (!cmdtp->help) {
my_puts_P(PSTR(" - No additional help available.\n"));