changeset 106:422df21290d7

Fix oneit: <1 is only parsed at the start of the argument list.
author Rob Landley <rob@landley.net>
date Wed, 21 Feb 2007 15:19:32 -0500
parents c5b6fb1fe3a4
children 7a82432fa970
files toys/toylist.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/toys/toylist.h	Mon Feb 19 01:44:28 2007 -0500
+++ b/toys/toylist.h	Wed Feb 21 15:19:32 2007 -0500
@@ -78,7 +78,7 @@
 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))