summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-12-20 16:35:55 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2018-12-20 16:36:25 -0800
commit3c0a36e514237132db711bfef57a74c64592c4e2 (patch)
tree381b5fdfe81905a8f8d75943d034cd0617d2fb72
parentb0a06e866aa5751320b128621b24b887658207a9 (diff)
downloadgrep-3c0a36e514237132db711bfef57a74c64592c4e2.tar.gz
grep: fit --version authorship into 80
* src/grep.c (AUTHORS): Remove. (main): Output the authorship info ourselves instead of having version_etc do it. This is better for i18n anyway.
-rw-r--r--src/grep.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/grep.c b/src/grep.c
index aa1d6dd1..9fb5e925 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -56,10 +56,6 @@ enum { SEP_CHAR_SELECTED = ':' };
enum { SEP_CHAR_REJECTED = '-' };
static char const SEP_STR_GROUP[] = "--";
-#define AUTHORS \
- proper_name ("Mike Haertel"), \
- _("others, see <https://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>")
-
/* When stdout is connected to a regular file, save its stat
information here, so that we can automatically skip it, thus
avoiding a potential (racy) infinite loop. */
@@ -2769,8 +2765,10 @@ main (int argc, char **argv)
if (show_version)
{
- version_etc (stdout, getprogname (), PACKAGE_NAME, VERSION, AUTHORS,
+ version_etc (stdout, getprogname (), PACKAGE_NAME, VERSION,
(char *) NULL);
+ puts (_("Written by Mike Haertel and others; see\n"
+ "<https://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>."));
return EXIT_SUCCESS;
}