summaryrefslogtreecommitdiffstats
path: root/commands/bootm.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/bootm.c')
-rw-r--r--commands/bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/bootm.c b/commands/bootm.c
index 61b9086a15..c7cbdbe0f4 100644
--- a/commands/bootm.c
+++ b/commands/bootm.c
@@ -97,7 +97,7 @@ static int do_bootm(int argc, char *argv[])
data.dryrun = 1;
break;
default:
- break;
+ return COMMAND_ERROR_USAGE;
}
}