diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
commit | d353f773bab8c0f92e149a74400aa31b57da9d05 (patch) | |
tree | e8c416c791c690f661c513340662e4e98ff3464a /coreutils/echo.c | |
parent | 3ab1d8193e335afa74e86a8d8e628158d7e503b9 (diff) | |
download | busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.gz busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.bz2 busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.zip |
Extract usage information into a separate file.
git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/echo.c')
-rw-r--r-- | coreutils/echo.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/coreutils/echo.c b/coreutils/echo.c index 387ea3fef..73be8f2e2 100644 --- a/coreutils/echo.c +++ b/coreutils/echo.c | |||
@@ -25,17 +25,6 @@ | |||
25 | #include "internal.h" | 25 | #include "internal.h" |
26 | #include <stdio.h> | 26 | #include <stdio.h> |
27 | 27 | ||
28 | static const char uname_usage[] = | ||
29 | "echo [-neE] [ARG ...]\n" | ||
30 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
31 | "\nPrints the specified ARGs to stdout\n\n" | ||
32 | "Options:\n" | ||
33 | "\t-n\tsuppress trailing newline\n" | ||
34 | "\t-e\tinterpret backslash-escaped characters (i.e. \\t=tab etc)\n" | ||
35 | "\t-E\tdisable interpretation of backslash-escaped characters\n" | ||
36 | #endif | ||
37 | ; | ||
38 | |||
39 | extern int | 28 | extern int |
40 | echo_main(int argc, char** argv) | 29 | echo_main(int argc, char** argv) |
41 | { | 30 | { |
@@ -58,7 +47,7 @@ echo_main(int argc, char** argv) | |||
58 | eflag = 0; | 47 | eflag = 0; |
59 | break; | 48 | break; |
60 | default: | 49 | default: |
61 | usage(uname_usage); | 50 | usage(echo_usage); |
62 | } | 51 | } |
63 | } | 52 | } |
64 | 53 | ||