summaryrefslogtreecommitdiff
path: root/src/echo.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-10-18 10:05:47 +0000
committerJim Meyering <jim@meyering.net>2003-10-18 10:05:47 +0000
commitcf4fdf373fa202877d8141fcf7c1ef655a8e06d9 (patch)
tree22f66d8083fd94790ee8c94f3f4827d0c79ee482 /src/echo.c
parentf81b126bd4e29178fb4a7c4b6483349f91360242 (diff)
downloadcoreutils-cf4fdf373fa202877d8141fcf7c1ef655a8e06d9.tar.xz
Most .c files (AUTHORS): Revert the WRITTEN_BY/AUTHORS change
of 2003-09-19. Now, AUTHORS is a comma-separated list of strings. Update the call to parse_long_options so that `AUTHORS, NULL' are the last parameters. * src/true.c (main): Append NULL to version_etc argument list. * src/sys2.h (case_GETOPT_VERSION_CHAR): Likewise.
Diffstat (limited to 'src/echo.c')
-rw-r--r--src/echo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/echo.c b/src/echo.c
index dfaf0aa31..658ceea20 100644
--- a/src/echo.c
+++ b/src/echo.c
@@ -1,5 +1,5 @@
/* echo.c, derived from code echo.c in Bash.
- Copyright (C) 87,89, 1991-1997, 1999-2002 Free Software Foundation, Inc.
+ Copyright (C) 87,89, 1991-1997, 1999-2003 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -24,7 +24,7 @@
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "echo"
-#define WRITTEN_BY _("Written by FIXME unknown.")
+#define AUTHORS "FIXME unknown"
/* echo [-neE] [arg ...]
Output the ARGs. If -n is specified, the trailing newline is
@@ -127,7 +127,7 @@ 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, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL, NULL);
else
allow_options = 0;