aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-06-07 18:16:25 -0500
committerRob Landley <rob@landley.net>2016-06-07 18:16:25 -0500
commit5786e0ddc59a1792399eaf39ff77dca8edf39721 (patch)
treef32a74b9cd138287e1d11d9fd4dde032c1760f50 /toys/posix
parent8387fcb03edc718f031bc5b6af056c2ef408f3d5 (diff)
downloadtoybox-5786e0ddc59a1792399eaf39ff77dca8edf39721.tar.gz
Izabera pointed out that cmp -ls are contradictory.
Diffstat (limited to 'toys/posix')
-rw-r--r--toys/posix/cmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/cmp.c b/toys/posix/cmp.c
index 829da75c..527fbfda 100644
--- a/toys/posix/cmp.c
+++ b/toys/posix/cmp.c
@@ -4,7 +4,7 @@
*
* See http://opengroup.org/onlinepubs/9699919799/utilities/cmp.html
-USE_CMP(NEWTOY(cmp, "<2>2ls", TOYFLAG_USR|TOYFLAG_BIN))
+USE_CMP(NEWTOY(cmp, "<2>2ls[!ls]", TOYFLAG_USR|TOYFLAG_BIN))
config CMP
bool "cmp"