summaryrefslogtreecommitdiffstats
path: root/commands/menutree.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/menutree.c')
-rw-r--r--commands/menutree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/menutree.c b/commands/menutree.c
index ea5f65f3a1..cf37b01601 100644
--- a/commands/menutree.c
+++ b/commands/menutree.c
@@ -26,6 +26,8 @@ static int do_menutree(int argc, char *argv[])
case 'm':
path = optarg;
break;
+ default:
+ return COMMAND_ERROR_USAGE;
}
}