X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/51dd0948df5ed53b11cab4e909e19ee7cee363c5..eb49471efdeb6b317afeffa9bc05b25cb7d7a72c:/avr/command_tbl.c diff --git a/avr/command_tbl.c b/avr/command_tbl.c index 4ed37b7..5a63e76 100644 --- a/avr/command_tbl.c +++ b/avr/command_tbl.c @@ -33,6 +33,11 @@ CMD_TBL_ITEM_TOP( ), +CMD_TBL_ITEM( + time, CONFIG_SYS_MAXARGS, 0, do_time, + "run command and print execution time", + "command [args...]\n" +), CMD_TBL_ITEM( date, 2, 1, do_date, "get/set date & time", @@ -106,7 +111,7 @@ CMD_TBL_ITEM( sleep , 2, 1, do_sleep, "delay execution for some time", "N[m][s]\n" - " - delay execution for decimal N (milli) seconds" + " - delay execution for hexadecimal N (milli) seconds" ), CMD_TBL_ITEM_COMPLETE( run, CONFIG_SYS_MAXARGS, 1, do_run, @@ -201,12 +206,10 @@ CMD_TBL_ITEM( #endif /* CONFIG_CMD_LOADB */ CMD_TBL_ITEM( - go, 2, 0, do_go, + go, CONFIG_SYS_MAXARGS, 0, do_go, "start application at address 'addr'", - "addr\n" + "[-h] addr\n" " - start application at address 'addr'" -// "\n" -// " passing 'arg' as arguments" ), CMD_TBL_ITEM( reset, 1, 0, do_reset,