summaryrefslogtreecommitdiffstats
path: root/commands/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/help.c')
-rw-r--r--commands/help.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/help.c b/commands/help.c
index 3d36d9bf48..819c40653c 100644
--- a/commands/help.c
+++ b/commands/help.c
@@ -98,6 +98,8 @@ static int do_help(int argc, char *argv[])
case 'a':
all = 1;
break;
+ default:
+ return COMMAND_ERROR_USAGE;
}
}