[PATCH] echo: Fix help

Sascha Hauer s.hauer at pengutronix.de
Sun May 13 16:04:11 EDT 2012


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 commands/echo.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/commands/echo.c b/commands/echo.c
index 114c1ba..a19d992 100644
--- a/commands/echo.c
+++ b/commands/echo.c
@@ -115,9 +115,9 @@ BAREBOX_CMD_HELP_START(echo)
 BAREBOX_CMD_HELP_USAGE("echo [OPTIONS] [STRING]\n")
 BAREBOX_CMD_HELP_SHORT("Display a line of text.\n")
 BAREBOX_CMD_HELP_OPT  ("-n",  "do not output the trailing newline\n")
-BAREBOX_CMD_HELP_OPT  ("-a",  "FIXME\n")
-BAREBOX_CMD_HELP_OPT  ("-o",  "FIXME\n")
-BAREBOX_CMD_HELP_OPT  ("-e",  "FIXME\n")
+BAREBOX_CMD_HELP_OPT  ("-a <file>",  "instead of outputting to stdout append to <file>\n")
+BAREBOX_CMD_HELP_OPT  ("-o <file>",  "instead of outputting to stdout overwrite <file>\n")
+BAREBOX_CMD_HELP_OPT  ("-e",  "recognize escape sequences\n")
 BAREBOX_CMD_HELP_END
 
 /**
-- 
1.7.10




More information about the barebox mailing list