]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(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 3c9b37f0b31c024f5688ee424bfc59fcbf9483e7..1a922e1d9e1e779c688fc45423517a28a80ad380 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 59514e92906e156ea8f67d428b69ca4329d5fa6b..128f905ea7358a1df85d203b134827bcf0427f77 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 33f217df3d0c9a96e669af635fc8dd2a5d6a4fa2..c659b24d96e23ca4b9032bb2059410382a886673 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 2bf1f477edf3443d3f9d5c3b54d11f8560a78c0f..a451cda025375b3234eb484dcf00ed32be2567c9 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 d3a4efb4e204fedd1564d61372bd4fa869646801..18dc2d876d75592e763c368562885564b91118c3 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 df0c8a90f478ac77e4ff751315643cc29150107a..49fd5b15db7a9ebeea29c71cf3ca67c02a9f9d7d 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 5aa31a8436538145a7bd6e4abcff3191d11cf875..017e470dfa700b5e4719d55d5371b3de98740be9 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 f0f1e43cb67ddddb490a84afb5576c42d2bcf030..15094372a5cb061ffee0e3e2eea1bb8e71b6cf00 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 fddb4a96e1719c2d55706ce3b078558377a918e9..2cad4639f61050d884b9aaa7dde259799a705476 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 55dcfaa3dcf604353d5ac218e22857cfa778f73e..b1050557509651ed42e9f3a0ed79a97e3deb6a73 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 2e817e3b0134171b38b6716d59bc06b784340e78..166d58371ab38ecfb92da1f31d7244d229d4a289 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 0e4e38e25c913a1de8aa3ecf4c9f798ec6546d1b..6ceb2e528989824022b84fe8e3975bb8bcf80cc7 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 dc4f2b5a9424805b8e42b700252e6180c28ffc46..d504f9a145889feac78c9e35b1acc4e179eb91f2 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 4e3f4afcde3712716d24d5d7f9a063d4b9f78016..2a6daa286b98c38f6b32f99f9a0baedfbf9c7e06 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)