summaryrefslogtreecommitdiffstats
path: root/commands/dhcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/dhcp.c')
-rw-r--r--commands/dhcp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/dhcp.c b/commands/dhcp.c
index eb98bfc2a7..4f4f5490c5 100644
--- a/commands/dhcp.c
+++ b/commands/dhcp.c
@@ -45,6 +45,8 @@ static int do_dhcp(int argc, char *argv[])
case 'r':
retries = simple_strtoul(optarg, NULL, 10);
break;
+ default:
+ return COMMAND_ERROR_USAGE;
}
}