aboutsummaryrefslogtreecommitdiff
path: root/toys/toylist.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-02-01 17:39:14 -0500
committerRob Landley <rob@landley.net>2007-02-01 17:39:14 -0500
commitbf284cbd49c99757ffb6367c4dfc584c01a3deab (patch)
treec74fa069211bd025a4d987ce639a5bedf6584f06 /toys/toylist.h
parentedee7ddeb58c706456bba60f5a7aa9a071643c57 (diff)
downloadtoybox-bf284cbd49c99757ffb6367c4dfc584c01a3deab.tar.gz
Toybox option parsing must stop at the first non-option argument.
Diffstat (limited to 'toys/toylist.h')
-rw-r--r--toys/toylist.h2
1 files changed, 1 insertions, 1 deletions
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))