]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(main): update --version output to conform to coding standard
authorJim Meyering <jim@meyering.net>
Fri, 4 Oct 1996 04:16:01 +0000 (04:16 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 4 Oct 1996 04:16:01 +0000 (04:16 +0000)
16 files changed:
src/chgrp.c
src/chmod.c
src/chown.c
src/cp.c
src/dd.c
src/df.c
src/du.c
src/install.c
src/ln.c
src/mkdir.c
src/mkfifo.c
src/mknod.c
src/mv.c
src/rm.c
src/rmdir.c
src/touch.c

index 3a2e303c7a49abc77b7946300bf84665f9bf44fa..44f40be5076e2d8868d18953bfb8d32dbf1e101c 100644 (file)
@@ -336,7 +336,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("chgrp - %s\n", PACKAGE_VERSION);
+      printf ("chgrp (GNU %s) %s\n", PACKAGE, VERSION);
       exit (0);
     }
 
index 63a54e3b06cc0230bdec2b639b914b1744479458..1194c4b1548fcb2ec4db4aa968f6d741725a75fb 100644 (file)
@@ -305,7 +305,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("chmod - %s\n", PACKAGE_VERSION);
+      printf ("chmod (GNU %s) %s\n", PACKAGE, VERSION);
       exit (0);
     }
 
index 7476e20b616b6865fc0b89cb63ca4713abc9cc54..5f0f405fdc3e52b38777263a3792611738c429fb 100644 (file)
@@ -302,7 +302,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("chown - %s\n", PACKAGE_VERSION);
+      printf ("chown (GNU %s) %s\n", PACKAGE, VERSION);
       exit (0);
     }
 
index 7d0b85a5b7346d30fdaf2f9b6c70621f66ec2c60..e9354fea1d3d973d5c37ce47a67504faa6086198 100644 (file)
--- a/src/cp.c
+++ b/src/cp.c
@@ -341,7 +341,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("cp - %s\n", PACKAGE_VERSION);
+      printf ("cp (GNU %s) %s\n", PACKAGE, VERSION);
       exit (0);
     }
 
index 60bfce57638fc587df5e834031cc182e7f530d7c..05bdbd96c29ac57fb2fe6c89a98b61280e212325 100644 (file)
--- a/src/dd.c
+++ b/src/dd.c
@@ -339,7 +339,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("dd - %s\n", PACKAGE_VERSION);
+      printf ("dd (GNU %s) %s\n", PACKAGE, VERSION);
       exit (0);
     }
 
index 00b9e4053a2861f05759eac2dae9edd3ef10a667..8116699f6956795c0895021f385cf3b75f6f4a5e 100644 (file)
--- a/src/df.c
+++ b/src/df.c
@@ -572,7 +572,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("df - %s\n", PACKAGE_VERSION);
+      printf ("df (GNU %s) %s\n", PACKAGE, VERSION);
       exit (0);
     }
 
index 63b00ce2e78ad31f231343167dfe86d8af631fe8..3d20665f9e2175c7d94b97ae09a570c401e2d6da 100644 (file)
--- a/src/du.c
+++ b/src/du.c
@@ -336,7 +336,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("du - %s\n", PACKAGE_VERSION);
+      printf ("du (GNU %s) %s\n", PACKAGE, VERSION);
       exit (0);
     }
 
index 0e7cd0126c38b54a617e9be90b67115e4deaec66..653e20a7a2925136d1834ccaa049f3bedb9b7eb3 100644 (file)
@@ -244,7 +244,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("install - %s\n", PACKAGE_VERSION);
+      printf ("install (GNU %s) %s\n", PACKAGE, VERSION);
       exit (0);
     }
 
index 1ffc14bf52be6eccd747fc44ec0e722621c986bb..71116dac1a6adf0ee0d27809ac8cb47b49673514 100644 (file)
--- a/src/ln.c
+++ b/src/ln.c
@@ -421,7 +421,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("ln - %s\n", PACKAGE_VERSION);
+      printf ("ln (GNU %s) %s\n", PACKAGE, VERSION);
       exit (0);
     }
 
index 935fe39d6df4e7a71f7bd1abac35c46abe24410e..56cc3d8cc6b7b66d13513d57a38470382cb116d6 100644 (file)
@@ -121,7 +121,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("mkdir - %s\n", PACKAGE_VERSION);
+      printf ("mkdir (GNU %s) %s\n", PACKAGE, VERSION);
       exit (0);
     }
 
index 8c8ff0a0b2d8cfd58db3af4b4e5036af10885286..3cd6f244d9b074da532fab475765abd93098970f 100644 (file)
@@ -106,7 +106,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("mkfifo - %s\n", PACKAGE_VERSION);
+      printf ("mkfifo (GNU %s) %s\n", PACKAGE, VERSION);
       exit (0);
     }
 
index 82c58fbc88da57abbcc1e7863ee5953121a84552..1f6a2197ce2f16904f5ca4cff1c1fcc73043bfe8 100644 (file)
@@ -115,7 +115,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("mknod - %s\n", PACKAGE_VERSION);
+      printf ("mknod (GNU %s) %s\n", PACKAGE, VERSION);
       exit (0);
     }
 
index 2e354f26a3faeea62bf12d5599f25be40c33af4a..9b9acc7b12fe5ef126b7ead345ada2b4c21e34ce 100644 (file)
--- a/src/mv.c
+++ b/src/mv.c
@@ -468,7 +468,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("mv - %s\n", PACKAGE_VERSION);
+      printf ("mv (GNU %s) %s\n", PACKAGE, VERSION);
       exit (0);
     }
 
index 8cd9e6dc3a15470a6401dbffef505953bd681c90..088cf4362f3051590a8a7e015230420c74b65c4a 100644 (file)
--- a/src/rm.c
+++ b/src/rm.c
@@ -157,7 +157,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("rm - %s\n", PACKAGE_VERSION);
+      printf ("rm (GNU %s) %s\n", PACKAGE, VERSION);
       exit (0);
     }
 
index f309c1b91e7de2cb4c5fe77f4d025485dc68ca3d..31246c730ae5194a2129148b5b04a1d8f8183ffc 100644 (file)
@@ -125,7 +125,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("rmdir - %s\n", PACKAGE_VERSION);
+      printf ("rmdir (GNU %s) %s\n", PACKAGE, VERSION);
       exit (0);
     }
 
index 7e1ae5fc61976a0d04c22a42b296244a2693460d..69ebbf425c963e7dadccde57347f222b2298aa35 100644 (file)
@@ -341,7 +341,7 @@ main (int argc, char **argv)
 
   if (show_version)
     {
-      printf ("touch - %s\n", PACKAGE_VERSION);
+      printf ("touch (GNU %s) %s\n", PACKAGE, VERSION);
       exit (0);
     }