From: Jim Meyering Date: Sat, 3 Apr 1999 05:26:48 +0000 (+0000) Subject: Use AUTHORS in place of string in parse_long_options call. X-Git-Tag: FILEUTILS-4_0e~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c21cecaea84fb2d86a2873d23eb8e6d92a0bdd65;p=thirdparty%2Fcoreutils.git Use AUTHORS in place of string in parse_long_options call. --- diff --git a/src/cat.c b/src/cat.c index abc8033e2d..2f49d3726f 100644 --- a/src/cat.c +++ b/src/cat.c @@ -537,7 +537,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "Torbjorn Granlund and Richard M. Stallman", usage); + AUTHORS, usage); /* Parse command line options. */ diff --git a/src/cksum.c b/src/cksum.c index 0e6baff1c9..c49fdce5cf 100644 --- a/src/cksum.c +++ b/src/cksum.c @@ -293,7 +293,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "Q. Frank Xia", usage); + AUTHORS, usage); have_read_stdin = 0; diff --git a/src/comm.c b/src/comm.c index c907e73ca7..c7be39b1ab 100644 --- a/src/comm.c +++ b/src/comm.c @@ -220,7 +220,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "Richard Stallman and David MacKenzie", usage); + AUTHORS, usage); only_file_1 = 1; only_file_2 = 1; diff --git a/src/csplit.c b/src/csplit.c index 2680d29d5a..bc1bd58e64 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -1378,7 +1378,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "Stuart Kemp and David MacKenzie", usage); + AUTHORS, usage); global_argv = argv; controls = NULL; diff --git a/src/cut.c b/src/cut.c index e8443a9b8d..90c4dbd8d8 100644 --- a/src/cut.c +++ b/src/cut.c @@ -695,7 +695,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "David Ihnat, David MacKenzie, and Jim Meyering", usage); + AUTHORS, usage); operating_mode = undefined_mode; diff --git a/src/expand.c b/src/expand.c index 035a2dbd50..e50d10c8df 100644 --- a/src/expand.c +++ b/src/expand.c @@ -339,7 +339,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "David MacKenzie", usage); + AUTHORS, usage); while ((c = getopt_long (argc, argv, "it:,0123456789", longopts, NULL)) != -1) { diff --git a/src/fmt.c b/src/fmt.c index 73890de155..2f8f355e9b 100644 --- a/src/fmt.c +++ b/src/fmt.c @@ -316,7 +316,7 @@ main (register int argc, register char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "Ross Paterson", usage); + AUTHORS, usage); crown = tagged = split = uniform = FALSE; max_width = WIDTH; diff --git a/src/fold.c b/src/fold.c index ed0221f1d0..d1c6bf88dc 100644 --- a/src/fold.c +++ b/src/fold.c @@ -242,7 +242,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "David MacKenzie", usage); + AUTHORS, usage); break_spaces = count_bytes = have_read_stdin = 0; diff --git a/src/head.c b/src/head.c index 91544adaef..4c869baa1d 100644 --- a/src/head.c +++ b/src/head.c @@ -267,7 +267,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "David MacKenzie", usage); + AUTHORS, usage); have_read_stdin = 0; diff --git a/src/join.c b/src/join.c index 1e38cb5e7c..de9b1625ba 100644 --- a/src/join.c +++ b/src/join.c @@ -743,7 +743,7 @@ main (int argc, char **argv) uni_blank.nfields = 1; parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "Mike Haertel", usage); + AUTHORS, usage); nfiles = 0; print_pairables = 1; diff --git a/src/md5sum.c b/src/md5sum.c index a30769abb8..f80b0ebeff 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -478,7 +478,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "Ulrich Drepper", usage); + AUTHORS, usage); while ((opt = getopt_long (argc, argv, "bctw", long_options, NULL)) != -1) switch (opt) diff --git a/src/nl.c b/src/nl.c index 4df5714852..c2ba80af03 100644 --- a/src/nl.c +++ b/src/nl.c @@ -451,7 +451,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "Scott Bartram and David MacKenzie", usage); + AUTHORS, usage); have_read_stdin = 0; diff --git a/src/od.c b/src/od.c index 61c3d924a5..3280dd5169 100644 --- a/src/od.c +++ b/src/od.c @@ -1599,7 +1599,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "Jim Meyering", usage); + AUTHORS, usage); err = 0; diff --git a/src/paste.c b/src/paste.c index 9f4a2b8633..465c87205d 100644 --- a/src/paste.c +++ b/src/paste.c @@ -437,7 +437,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "David M. Ihnat", usage); + AUTHORS, usage); have_read_stdin = 0; serial_merge = 0; diff --git a/src/pr.c b/src/pr.c index 4de2064d88..871b25c1b3 100644 --- a/src/pr.c +++ b/src/pr.c @@ -828,7 +828,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "Pete TerMaat and Roland Huebner", usage); + AUTHORS, usage); n_files = 0; file_names = (argc > 1 diff --git a/src/ptx.c b/src/ptx.c index f19f07f684..93e73bbb56 100644 --- a/src/ptx.c +++ b/src/ptx.c @@ -1969,7 +1969,7 @@ main (int argc, char **argv) #endif parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "François Pinard", usage); + AUTHORS, usage); while (optchar = getopt_long (argc, argv, "ACF:GM:ORS:TW:b:i:fg:o:trw:", long_options, NULL), diff --git a/src/sort.c b/src/sort.c index 780717a620..bce342d2ed 100644 --- a/src/sort.c +++ b/src/sort.c @@ -2531,7 +2531,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "Mike Haertel", usage); + AUTHORS, usage); have_read_stdin = 0; inittables (); diff --git a/src/split.c b/src/split.c index 6d9de4ddb9..74e08f81f1 100644 --- a/src/split.c +++ b/src/split.c @@ -348,7 +348,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "Torbjorn Granlund and Richard M. Stallman", usage); + AUTHORS, usage); /* Parse command line options. */ diff --git a/src/sum.c b/src/sum.c index a543d35f47..47524e4833 100644 --- a/src/sum.c +++ b/src/sum.c @@ -215,7 +215,7 @@ main (int argc, char **argv) have_read_stdin = 0; parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "Kayvan Aghaiepour and David MacKenzie", usage); + AUTHORS, usage); while ((optc = getopt_long (argc, argv, "rs", longopts, NULL)) != -1) { diff --git a/src/tac.c b/src/tac.c index d65a50925b..a88bfab6b3 100644 --- a/src/tac.c +++ b/src/tac.c @@ -615,7 +615,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "Jay Lepreau and David MacKenzie", usage); + AUTHORS, usage); errors = 0; separator = "\n"; diff --git a/src/tail.c b/src/tail.c index 6fa4a23dda..2b24371f89 100644 --- a/src/tail.c +++ b/src/tail.c @@ -40,7 +40,8 @@ /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "tail" -#define AUTHORS "Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering" +#define AUTHORS \ + "Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering" #ifndef OFF_T_MIN # define OFF_T_MIN TYPE_MINIMUM (off_t) @@ -1343,8 +1344,7 @@ main (int argc, char **argv) have_read_stdin = 0; parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering", - usage); + AUTHORS, usage); { int found_obsolescent; diff --git a/src/tr.c b/src/tr.c index 1576e17655..ac8fb3cc13 100644 --- a/src/tr.c +++ b/src/tr.c @@ -1804,7 +1804,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "Jim Meyering", usage); + AUTHORS, usage); while ((c = getopt_long (argc, argv, "cdst", long_options, NULL)) != -1) { diff --git a/src/tsort.c b/src/tsort.c index e4da143574..05a3bc0ebc 100644 --- a/src/tsort.c +++ b/src/tsort.c @@ -462,7 +462,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "Mark Kettenis", usage); + AUTHORS, usage); while ((opt = getopt_long (argc, argv, "", long_options, NULL)) != -1) switch (opt) diff --git a/src/unexpand.c b/src/unexpand.c index e649a6eb01..ed6443751e 100644 --- a/src/unexpand.c +++ b/src/unexpand.c @@ -390,7 +390,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "David MacKenzie", usage); + AUTHORS, usage); have_read_stdin = 0; exit_status = 0; diff --git a/src/uniq.c b/src/uniq.c index 035efafad8..26c6753bd3 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -290,7 +290,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "Richard Stallman and David MacKenzie", usage); + AUTHORS, usage); skip_chars = 0; skip_fields = 0; diff --git a/src/wc.c b/src/wc.c index 87c3c55b04..886b4484a9 100644 --- a/src/wc.c +++ b/src/wc.c @@ -303,7 +303,7 @@ main (int argc, char **argv) textdomain (PACKAGE); parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, - "Paul Rubin and David MacKenzie", usage); + AUTHORS, usage); exit_status = 0; print_lines = print_words = print_chars = print_linelength = 0;