summaryrefslogtreecommitdiffstats
path: root/commands/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/time.c')
-rw-r--r--commands/time.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/commands/time.c b/commands/time.c
index 6a696c2b53..29000d96d8 100644
--- a/commands/time.c
+++ b/commands/time.c
@@ -45,14 +45,14 @@ static int do_time(int argc, char *argv[])
}
BAREBOX_CMD_HELP_START(time)
-BAREBOX_CMD_HELP_USAGE("time <command>\n")
-BAREBOX_CMD_HELP_SHORT("note: This command depends on <command> being interruptible,\n")
-BAREBOX_CMD_HELP_SHORT("Otherwise the timer may overrun resulting in incorrect results\n")
+BAREBOX_CMD_HELP_TEXT("Note: This command depends on COMMAND being interruptible,")
+BAREBOX_CMD_HELP_TEXT("otherwise the timer may overrun resulting in incorrect results")
BAREBOX_CMD_HELP_END
BAREBOX_CMD_START(time)
.cmd = do_time,
- .usage = "measure execution time of a command",
+ BAREBOX_CMD_DESC("measure execution duration of a command")
+ BAREBOX_CMD_OPTS("COMMAND")
BAREBOX_CMD_GROUP(CMD_GRP_MISC)
BAREBOX_CMD_HELP(cmd_time_help)
BAREBOX_CMD_END