diff options
Diffstat (limited to 'common/cmd_log.c')
-rw-r--r-- | common/cmd_log.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/cmd_log.c b/common/cmd_log.c index febdb90cfc..a03835d021 100644 --- a/common/cmd_log.c +++ b/common/cmd_log.c @@ -241,18 +241,18 @@ int do_log (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) } return 0; } - printf ("Usage:\n%s\n", cmdtp->usage); + cmd_usage(cmdtp); return 1; default: - printf ("Usage:\n%s\n", cmdtp->usage); + cmd_usage(cmdtp); return 1; } } U_BOOT_CMD( log, 255, 1, do_log, - "log - manipulate logbuffer\n", + "manipulate logbuffer", "info - show pointer details\n" "log reset - clear contents\n" "log show - show contents\n" |