summaryrefslogtreecommitdiffstats
path: root/commands/ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/ls.c')
-rw-r--r--commands/ls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/ls.c b/commands/ls.c
index ce02f16c49..331a4d2015 100644
--- a/commands/ls.c
+++ b/commands/ls.c
@@ -143,6 +143,8 @@ static int do_ls(int argc, char *argv[])
case 'l':
flags &= ~LS_COLUMN;
break;
+ default:
+ return COMMAND_ERROR_USAGE;
}
}