aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-02-21 15:19:32 -0500
committerRob Landley <rob@landley.net>2007-02-21 15:19:32 -0500
commit3caedb79bc161b41a6a8addeaf1d7feb0ebb2b10 (patch)
tree831c29f675825478923ceb36e0cf476d7f89ad0d /toys
parent1465cfa0672b1cf60cd8a0bdcad808dec744d374 (diff)
downloadtoybox-3caedb79bc161b41a6a8addeaf1d7feb0ebb2b10.tar.gz
Fix oneit: <1 is only parsed at the start of the argument list.
Diffstat (limited to 'toys')
-rw-r--r--toys/toylist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/toylist.h b/toys/toylist.h
index 173e870a..cb239b42 100644
--- a/toys/toylist.h
+++ b/toys/toylist.h
@@ -78,7 +78,7 @@ USE_ECHO(NEWTOY(echo, "+en", TOYFLAG_BIN))
USE_TOYSH(NEWTOY(exit, NULL, TOYFLAG_NOFORK))
USE_HELLO(NEWTOY(hello, NULL, TOYFLAG_USR))
USE_MKE2FS(NEWTOY(mke2fs, MKE2FS_OPTSTRING, TOYFLAG_SBIN))
-USE_ONEIT(NEWTOY(oneit, "+p<1", TOYFLAG_SBIN))
+USE_ONEIT(NEWTOY(oneit, "+<1p", TOYFLAG_SBIN))
USE_PWD(NEWTOY(pwd, NULL, TOYFLAG_BIN))
USE_TOYSH(OLDTOY(sh, toysh, "c:i", TOYFLAG_BIN))
USE_TOUCH(NEWTOY(touch, "l#t:r:mca", TOYFLAG_BIN))