aboutsummaryrefslogtreecommitdiff
path: root/toys/echo.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2008-06-26 22:48:43 -0500
committerRob Landley <rob@landley.net>2008-06-26 22:48:43 -0500
commitb1487dc9ed8c892afde94a8ac04350e3ca0e7074 (patch)
treef9e041f48ececa6e63decbd2957394275f81d3e6 /toys/echo.c
parentf901f24334ee8c0f03b72c2a1ad365b61334db5a (diff)
downloadtoybox-b1487dc9ed8c892afde94a8ac04350e3ca0e7074.tar.gz
Option parsing: stopearly is now a ^ prefix (not +), and an option string with
no flags auto-enables stopearly (so seq doesn't have to specify it to avoid having negative number arguments eaten by the option parsing logic).
Diffstat (limited to 'toys/echo.c')
-rw-r--r--toys/echo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/echo.c b/toys/echo.c
index fda008af..5feb9899 100644
--- a/toys/echo.c
+++ b/toys/echo.c
@@ -6,7 +6,7 @@
*
* See http://www.opengroup.org/onlinepubs/009695399/utilities/echo.html
-USE_ECHO(NEWTOY(echo, "+?en", TOYFLAG_BIN))
+USE_ECHO(NEWTOY(echo, "^?en", TOYFLAG_BIN))
config ECHO
bool "echo"