aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-11-19 01:49:53 -0600
committerRob Landley <rob@landley.net>2012-11-19 01:49:53 -0600
commit7f909bd163630a2ce710653e0fafb7bae7171745 (patch)
treec571f2baae1faf85e239338ec875cdb615c49583 /toys/posix
parent6c62448f72ed9fc2b6a59ee09735283c07060cdb (diff)
downloadtoybox-7f909bd163630a2ce710653e0fafb7bae7171745.tar.gz
Teach option parsing about [groups] of related options.
Diffstat (limited to 'toys/posix')
-rw-r--r--toys/posix/ls.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/toys/posix/ls.c b/toys/posix/ls.c
index 70200e7c..55de239f 100644
--- a/toys/posix/ls.c
+++ b/toys/posix/ls.c
@@ -5,8 +5,7 @@
*
* See http://opengroup.org/onlinepubs/9699919799/utilities/ls.html
-// "[-Cl]"
-USE_LS(NEWTOY(ls, "goACFHLRSacdfiklmnpqrstux1", TOYFLAG_BIN))
+USE_LS(NEWTOY(ls, "goACFHLRSacdfiklmnpqrstux1[-1Cglmnox][-cu][-ftS][-HL]", TOYFLAG_BIN))
config LS
bool "ls"