aboutsummaryrefslogtreecommitdiff
path: root/coreutils/echo.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
committerMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /coreutils/echo.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
Extract usage information into a separate file.
Diffstat (limited to 'coreutils/echo.c')
-rw-r--r--coreutils/echo.c13
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 @@
#include "internal.h"
#include <stdio.h>
-static const char uname_usage[] =
- "echo [-neE] [ARG ...]\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nPrints the specified ARGs to stdout\n\n"
- "Options:\n"
- "\t-n\tsuppress trailing newline\n"
- "\t-e\tinterpret backslash-escaped characters (i.e. \\t=tab etc)\n"
- "\t-E\tdisable interpretation of backslash-escaped characters\n"
-#endif
- ;
-
extern int
echo_main(int argc, char** argv)
{
@@ -58,7 +47,7 @@ echo_main(int argc, char** argv)
eflag = 0;
break;
default:
- usage(uname_usage);
+ usage(echo_usage);
}
}