diff options
author | Jim Meyering <jim@meyering.net> | 1999-03-04 14:02:14 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-03-04 14:02:14 +0000 |
commit | ff743d54518df91ff57420a2a7a1e4cd72607bf7 (patch) | |
tree | 15b8393b09e95980821123a9df638b03cf6578fd /src | |
parent | 0f67dfcaa3d0db4a795057a80e4c00cef81875d3 (diff) | |
download | coreutils-ff743d54518df91ff57420a2a7a1e4cd72607bf7.tar.xz |
(main): Include author name argument in call to parse_long_options.
Diffstat (limited to 'src')
-rw-r--r-- | src/basename.c | 3 | ||||
-rw-r--r-- | src/chroot.c | 4 | ||||
-rw-r--r-- | src/dirname.c | 3 | ||||
-rw-r--r-- | src/echo.c | 3 | ||||
-rw-r--r-- | src/expr.c | 3 | ||||
-rw-r--r-- | src/factor.c | 3 | ||||
-rw-r--r-- | src/hostid.c | 3 | ||||
-rw-r--r-- | src/hostname.c | 3 | ||||
-rw-r--r-- | src/nice.c | 3 | ||||
-rw-r--r-- | src/printf.c | 3 | ||||
-rw-r--r-- | src/pwd.c | 3 | ||||
-rw-r--r-- | src/stty.c | 3 | ||||
-rw-r--r-- | src/test.c | 8 | ||||
-rw-r--r-- | src/yes.c | 3 |
14 files changed, 32 insertions, 16 deletions
diff --git a/src/basename.c b/src/basename.c index 3c9b37f0b..1a922e1d9 100644 --- a/src/basename.c +++ b/src/basename.c @@ -93,7 +93,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - parse_long_options (argc, argv, "basename", GNU_PACKAGE, VERSION, usage); + parse_long_options (argc, argv, "basename", GNU_PACKAGE, VERSION, + "FIXME unknown", usage); if (argc == 1 || argc > 3) { diff --git a/src/chroot.c b/src/chroot.c index 59514e929..128f905ea 100644 --- a/src/chroot.c +++ b/src/chroot.c @@ -61,8 +61,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - parse_long_options (argc, argv, "chroot", GNU_PACKAGE, VERSION, usage); - + parse_long_options (argc, argv, "chroot", GNU_PACKAGE, VERSION, + "Roland McGrath", usage); if (argc == 1) { error (0, 0, _("too few arguments")); diff --git a/src/dirname.c b/src/dirname.c index 33f217df3..c659b24d9 100644 --- a/src/dirname.c +++ b/src/dirname.c @@ -66,7 +66,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - parse_long_options (argc, argv, "dirname", GNU_PACKAGE, VERSION, usage); + parse_long_options (argc, argv, "dirname", GNU_PACKAGE, VERSION, + "David MacKenzie and Jim Meyering", usage); if (argc != 2) { diff --git a/src/echo.c b/src/echo.c index 2bf1f477e..a451cda02 100644 --- a/src/echo.c +++ b/src/echo.c @@ -114,7 +114,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, usage); + parse_long_options (argc, argv, "echo", GNU_PACKAGE, VERSION, + "FIXME unknown", usage); else allow_options = 0; diff --git a/src/expr.c b/src/expr.c index d3a4efb4e..18dc2d876 100644 --- a/src/expr.c +++ b/src/expr.c @@ -167,7 +167,8 @@ main (int argc, char **argv) /* Recognize --help or --version only if POSIXLY_CORRECT is not set. */ if (!posixly_correct) - parse_long_options (argc, argv, "expr", GNU_PACKAGE, VERSION, usage); + parse_long_options (argc, argv, "expr", GNU_PACKAGE, VERSION, + "Mike Parker", usage); if (argc == 1) { diff --git a/src/factor.c b/src/factor.c index df0c8a90f..49fd5b15d 100644 --- a/src/factor.c +++ b/src/factor.c @@ -174,7 +174,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - parse_long_options (argc, argv, "factor", GNU_PACKAGE, VERSION, usage); + parse_long_options (argc, argv, "factor", GNU_PACKAGE, VERSION, + "Paul Rubin", usage); fail = 0; if (argc == 1) diff --git a/src/hostid.c b/src/hostid.c index 5aa31a843..017e470df 100644 --- a/src/hostid.c +++ b/src/hostid.c @@ -63,7 +63,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - parse_long_options (argc, argv, "hostid", GNU_PACKAGE, VERSION, usage); + parse_long_options (argc, argv, "hostid", GNU_PACKAGE, VERSION, + "Jim Meyering", usage); if (argc > 1) { diff --git a/src/hostname.c b/src/hostname.c index f0f1e43cb..15094372a 100644 --- a/src/hostname.c +++ b/src/hostname.c @@ -82,7 +82,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - parse_long_options (argc, argv, "hostname", GNU_PACKAGE, VERSION, usage); + parse_long_options (argc, argv, "hostname", GNU_PACKAGE, VERSION, + "Jim Meyering", usage); #ifdef HAVE_SETHOSTNAME if (argc == 2) diff --git a/src/nice.c b/src/nice.c index fddb4a96e..2cad4639f 100644 --- a/src/nice.c +++ b/src/nice.c @@ -88,7 +88,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - parse_long_options (argc, argv, "nice", GNU_PACKAGE, VERSION, usage); + parse_long_options (argc, argv, "nice", GNU_PACKAGE, VERSION, + "David MacKenzie", usage); for (i = 1; i < argc; /* empty */) { diff --git a/src/printf.c b/src/printf.c index 55dcfaa3d..b10505575 100644 --- a/src/printf.c +++ b/src/printf.c @@ -491,7 +491,8 @@ main (int argc, char **argv) /* Don't recognize --help or --version if POSIXLY_CORRECT is set. */ posixly_correct = (getenv ("POSIXLY_CORRECT") != NULL); if (!posixly_correct) - parse_long_options (argc, argv, "printf", GNU_PACKAGE, VERSION, usage); + parse_long_options (argc, argv, "printf", GNU_PACKAGE, VERSION, + "David MacKenzie", usage); if (argc == 1) { @@ -60,7 +60,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - parse_long_options (argc, argv, "pwd", GNU_PACKAGE, VERSION, usage); + parse_long_options (argc, argv, "pwd", GNU_PACKAGE, VERSION, + "Jim Meyering", usage); if (argc != 1) error (0, 0, _("ignoring non-option arguments")); diff --git a/src/stty.c b/src/stty.c index 0e4e38e25..6ceb2e528 100644 --- a/src/stty.c +++ b/src/stty.c @@ -704,7 +704,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - parse_long_options (argc, argv, "stty", GNU_PACKAGE, VERSION, usage); + parse_long_options (argc, argv, "stty", GNU_PACKAGE, VERSION, + "David MacKenzie", usage); output_type = changed; verbose_output = 0; diff --git a/src/test.c b/src/test.c index dc4f2b5a9..d504f9a14 100644 --- a/src/test.c +++ b/src/test.c @@ -1058,6 +1058,8 @@ INTEGER may also be -l STRING, which evaluates to the length of STRING.\n\ # define main test_command #endif +#define AUTHORS "FIXME: ksb and mjb" + /* * [: * '[' expr ']' @@ -1089,7 +1091,8 @@ main (int margc, char **margv) { /* Don't recognize --help or --version if POSIXLY_CORRECT is set. */ if (getenv ("POSIXLY_CORRECT") == NULL) - parse_long_options (argc, argv, COMMAND_NAME, GNU_PACKAGE, VERSION, usage); + parse_long_options (argc, argv, COMMAND_NAME, GNU_PACKAGE, VERSION, + AUTHORS, usage); --margc; @@ -1106,7 +1109,8 @@ main (int margc, char **margv) if (pos >= argc) test_exit (SHELL_BOOLEAN (FALSE)); - parse_long_options (argc, argv, COMMAND_NAME, GNU_PACKAGE, VERSION, usage); + parse_long_options (argc, argv, COMMAND_NAME, GNU_PACKAGE, VERSION, + AUTHORS, usage); value = posixtest (); if (pos != argc) @@ -57,7 +57,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, "yes", GNU_PACKAGE, VERSION, usage); + parse_long_options (argc, argv, "yes", GNU_PACKAGE, VERSION, + "David MacKenzie", usage); if (argc == 1) while (1) |