summaryrefslogtreecommitdiff
path: root/src/echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/echo.c')
-rw-r--r--src/echo.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/echo.c b/src/echo.c
index a451cda02..bbb37f4f1 100644
--- a/src/echo.c
+++ b/src/echo.c
@@ -21,6 +21,11 @@
#include "system.h"
#include "long-options.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "echo"
+
+#define AUTHORS "FIXME unknown"
+
/* echo [-neE] [arg ...]
Output the ARGs. If -n is specified, the trailing newline is
suppressed. If the -e option is given, interpretation of the
@@ -114,8 +119,8 @@ main (int argc, char **argv)
/* Don't recognize --help or --version if POSIXLY_CORRECT is set. */
if (getenv ("POSIXLY_CORRECT") == NULL)
- parse_long_options (argc, argv, "echo", GNU_PACKAGE, VERSION,
- "FIXME unknown", usage);
+ parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
+ AUTHORS, usage);
else
allow_options = 0;