diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-11-16 20:47:28 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-11-16 20:47:28 +0000 |
commit | 6d988bb20d6382fc62d9ba71317057d9605e505b (patch) | |
tree | 78844b21d830a7aea6f8472f636d20ba3776f8ac /src/echo.c | |
parent | ed2fcc6f9aa466b2e026af88fd3bd712e007da25 (diff) | |
download | coreutils-6d988bb20d6382fc62d9ba71317057d9605e505b.tar.xz |
(usage): Improve documentation along the lines suggested
by Debian 5.2.1-2.
Diffstat (limited to 'src/echo.c')
-rw-r--r-- | src/echo.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/echo.c b/src/echo.c index 1447fcaf8..bf82de993 100644 --- a/src/echo.c +++ b/src/echo.c @@ -65,11 +65,16 @@ usage (int status) fputs (_("\ Echo the STRING(s) to standard output.\n\ \n\ - -n do not output the trailing newline\n\ - -e enable interpretation of the backslash-escaped characters\n\ - listed below\n\ - -E disable interpretation of those sequences in STRINGs\n\ + -n do not output the trailing newline\n\ "), stdout); + fputs (_(DEFAULT_ECHO_TO_XPG + ? "\ + -e enable interpretation of backslash escapes (default)\n\ + -E disable interpretation of backslash escapes\n" + : "\ + -e enable interpretation of backslash escapes\n\ + -E disable interpretation of backslash escapes (default)\n"), + stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); fputs (_("\ |