(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 3a2e303..44f40be 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 63a54e3..1194c4b 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 7476e20..5f0f405 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 7d0b85a..e9354fe 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 60bfce5..05bdbd9 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 00b9e40..8116699 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 63b00ce..3d20665 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 0e7cd01..653e20a 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 1ffc14b..71116da 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 935fe39..56cc3d8 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 8c8ff0a..3cd6f24 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 82c58fb..1f6a219 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 2e354f2..9b9acc7 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 8cd9e6d..088cf43 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 f309c1b..31246c7 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 7e1ae5f..69ebbf4 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);
     }