aboutsummaryrefslogtreecommitdiff
path: root/toys/echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/echo.c')
-rw-r--r--toys/echo.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/toys/echo.c b/toys/echo.c
index 8b4d7c58..fda008af 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"
@@ -18,16 +18,16 @@ config ECHO
by a newline.
-n No trailing newline.
- -e Process the following escape sequences:
- \\ backslash
- \a alert (beep/flash)
- \b backspace
- \c Stop output here (avoids trailing newline)
- \f form feed
- \n newline
- \r carriage return
- \t horizontal tab
- \v vertical tab
+ -e Process the following escape sequences:
+ \\ backslash
+ \a alert (beep/flash)
+ \b backspace
+ \c Stop output here (avoids trailing newline)
+ \f form feed
+ \n newline
+ \r carriage return
+ \t horizontal tab
+ \v vertical tab
*/
#include "toys.h"