Mercurial > hg > toybox
changeset 92:154070b2b28d
Toybox option parsing must stop at the first non-option argument.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 01 Feb 2007 17:39:14 -0500 |
parents | b596b9b3b2af |
children | cc0a6789f92a |
files | toys/toylist.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/toys/toylist.h Wed Jan 31 15:23:21 2007 -0500 +++ b/toys/toylist.h Thu Feb 01 17:39:14 2007 -0500 @@ -66,7 +66,7 @@ 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))