diff options
Diffstat (limited to 'common/cmd_ubi.c')
-rw-r--r-- | common/cmd_ubi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_ubi.c b/common/cmd_ubi.c index 5c31f7b..305e2e1 100644 --- a/common/cmd_ubi.c +++ b/common/cmd_ubi.c @@ -441,7 +441,7 @@ static int do_ubi(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) int err = 0; if (argc < 2) { - printf("Usage:\n%s\n", cmdtp->usage); + cmd_usage(cmdtp); return 1; } @@ -459,7 +459,7 @@ static int do_ubi(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) } if (argc < 4) { - printf("Usage:\n%s\n", cmdtp->usage); + cmd_usage(cmdtp); return 1; } |