summaryrefslogtreecommitdiffstats
path: root/commands/usbserial.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/usbserial.c')
-rw-r--r--commands/usbserial.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/usbserial.c b/commands/usbserial.c
index e80b315250..ad6bc63fcc 100644
--- a/commands/usbserial.c
+++ b/commands/usbserial.c
@@ -44,6 +44,8 @@ static int do_usbserial(int argc, char *argv[])
case 'd':
usb_serial_unregister();
return 0;
+ default:
+ return COMMAND_ERROR_USAGE;
}
}