summaryrefslogtreecommitdiffstats
path: root/commands/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/boot.c')
-rw-r--r--commands/boot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/boot.c b/commands/boot.c
index 8b3b407e12..102ca07980 100644
--- a/commands/boot.c
+++ b/commands/boot.c
@@ -53,6 +53,8 @@ static int do_boot(int argc, char *argv[])
case 'w':
boot_set_watchdog_timeout(simple_strtoul(optarg, NULL, 0));
break;
+ default:
+ return COMMAND_ERROR_USAGE;
}
}