summaryrefslogtreecommitdiff
path: root/ls.c
diff options
context:
space:
mode:
authorEric Andersen2000-07-03 14:55:49 +0000
committerEric Andersen2000-07-03 14:55:49 +0000
commit7c31ea4e2978eee19988efbfddb2a8f3e0c6873d (patch)
tree6c3e843d872bccb9cd6134664e8081f1912c0480 /ls.c
parent5d41d60f1e78aceb92555596c3a58c13c65d4e5b (diff)
downloadbusybox-7c31ea4e2978eee19988efbfddb2a8f3e0c6873d.zip
busybox-7c31ea4e2978eee19988efbfddb2a8f3e0c6873d.tar.gz
Added support for ignoring '-g' per GNU ls, thanks to David Vrabel
<dvrabel@arcom.co.uk>. Seems some ftp clients expect the '-g' option to exist. -Erik
Diffstat (limited to 'ls.c')
-rw-r--r--ls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ls.c b/ls.c
index 0b1aa62..8b9422e 100644
--- a/ls.c
+++ b/ls.c
@@ -568,6 +568,8 @@ extern int ls_main(int argc, char **argv)
opts |= DISP_RECURSIVE;
break;
#endif
+ case 'g': /* ignore -- for ftp servers */
+ break;
default:
goto print_usage_message;
}