summaryrefslogtreecommitdiff
path: root/echo.c
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-05-10 05:05:45 +0000
committerErik Andersen <andersen@codepoet.org>2000-05-10 05:05:45 +0000
commit59b9e870243c56a9c5ec045a925e4e9b3f1f6c3c (patch)
tree8db9c40b68387c1017007f5265e45c2a66ccfb0d /echo.c
parentac130e1dca289c431c43b6efee4b3d9f2b367c87 (diff)
downloadbusybox-w32-59b9e870243c56a9c5ec045a925e4e9b3f1f6c3c.tar.gz
busybox-w32-59b9e870243c56a9c5ec045a925e4e9b3f1f6c3c.tar.bz2
busybox-w32-59b9e870243c56a9c5ec045a925e4e9b3f1f6c3c.zip
* cp -fa now works as expected for symlinks (it didn't before)
* zcat works again (wasn't working since option parsing was broken) * more doc updates/more support for BB_FEATURE_SIMPLE_HELP -Erik
Diffstat (limited to 'echo.c')
-rw-r--r--echo.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/echo.c b/echo.c
index 2405d0ae1..b31f2229b 100644
--- a/echo.c
+++ b/echo.c
@@ -26,12 +26,15 @@
26#include <stdio.h> 26#include <stdio.h>
27 27
28static const char uname_usage[] = 28static const char uname_usage[] =
29 "echo [-neE] [ARG ...]\n\n" 29 "echo [-neE] [ARG ...]\n"
30 "Prints the specified ARGs to stdout\n\n" 30#ifndef BB_FEATURE_TRIVIAL_HELP
31 "\nPrints the specified ARGs to stdout\n\n"
31 "Options:\n" 32 "Options:\n"
32 "\t-n\tsuppress trailing newline\n" 33 "\t-n\tsuppress trailing newline\n"
33 "\t-e\tinterpret backslash-escaped characters (i.e. \\t=tab etc)\n" 34 "\t-e\tinterpret backslash-escaped characters (i.e. \\t=tab etc)\n"
34 "\t-E\tdisable interpretation of backslash-escaped characters\n"; 35 "\t-E\tdisable interpretation of backslash-escaped characters\n"
36#endif
37 ;
35 38
36extern int 39extern int
37echo_main(int argc, char** argv) 40echo_main(int argc, char** argv)