(main): Include author name argument in call to parse_long_options.
authorJim Meyering <jim@meyering.net>
Thu, 4 Mar 1999 14:02:14 +0000 (14:02 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 4 Mar 1999 14:02:14 +0000 (14:02 +0000)
14 files changed:
src/basename.c
src/chroot.c
src/dirname.c
src/echo.c
src/expr.c
src/factor.c
src/hostid.c
src/hostname.c
src/nice.c
src/printf.c
src/pwd.c
src/stty.c
src/test.c
src/yes.c

index 3c9b37f..1a922e1 100644 (file)
@@ -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)
     {
index 59514e9..128f905 100644 (file)
@@ -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"));
index 33f217d..c659b24 100644 (file)
@@ -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)
     {
index 2bf1f47..a451cda 100644 (file)
@@ -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;
 
index d3a4efb..18dc2d8 100644 (file)
@@ -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)
     {
index df0c8a9..49fd5b1 100644 (file)
@@ -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)
index 5aa31a8..017e470 100644 (file)
@@ -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)
     {
index f0f1e43..1509437 100644 (file)
@@ -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)
index fddb4a9..2cad463 100644 (file)
@@ -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 */)
     {
index 55dcfaa..b105055 100644 (file)
@@ -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)
     {
index 2e817e3..166d583 100644 (file)
--- a/src/pwd.c
+++ b/src/pwd.c
@@ -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"));
index 0e4e38e..6ceb2e5 100644 (file)
@@ -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;
index dc4f2b5..d504f9a 100644 (file)
@@ -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)
index 4e3f4af..2a6daa2 100644 (file)
--- a/src/yes.c
+++ b/src/yes.c
@@ -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)