From bf284cbd49c99757ffb6367c4dfc584c01a3deab Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 1 Feb 2007 17:39:14 -0500 Subject: Toybox option parsing must stop at the first non-option argument. --- toys/toylist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toys/toylist.h b/toys/toylist.h index d6b9866c..9bdea7dc 100644 --- a/toys/toylist.h +++ b/toys/toylist.h @@ -66,7 +66,7 @@ USE_CATV(NEWTOY(catv, "vte", TOYFLAG_USR|TOYFLAG_BIN)) USE_COUNT(NEWTOY(count, "", TOYFLAG_USR|TOYFLAG_BIN)) USE_TOYSH(NEWTOY(cd, NULL, TOYFLAG_NOFORK)) USE_DF(NEWTOY(df, "Pkt*a", TOYFLAG_USR|TOYFLAG_SBIN)) -USE_ECHO(NEWTOY(echo, "en", TOYFLAG_BIN)) +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)) -- cgit v1.2.3