From 3caedb79bc161b41a6a8addeaf1d7feb0ebb2b10 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 21 Feb 2007 15:19:32 -0500 Subject: Fix oneit: <1 is only parsed at the start of the argument list. --- toys/toylist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys') 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)) -- cgit v1.2.3