diff options
Diffstat (limited to 'commands/ls.c')
-rw-r--r-- | commands/ls.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/commands/ls.c b/commands/ls.c index 85fe8b53f4..2522546472 100644 --- a/commands/ls.c +++ b/commands/ls.c @@ -118,8 +118,6 @@ static int do_ls (cmd_tbl_t *cmdtp, int argc, char *argv[]) ulong flags = LS_COLUMN; struct string_list sl; - getopt_reset(); - while((opt = getopt(argc, argv, "RCl")) > 0) { switch(opt) { case 'R': |