(main): update --version output to conform to coding standard

This commit is contained in:
Jim Meyering
1996-10-04 04:15:08 +00:00
parent 1c6698b17d
commit 3361bd2bca
22 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -581,7 +581,7 @@ main (int argc, char **argv)
if (show_version)
{
printf ("cat - %s\n", PACKAGE_VERSION);
printf ("cat (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -307,7 +307,7 @@ main (int argc, char **argv)
if (show_version)
{
printf ("cksum - %s\n", PACKAGE_VERSION);
printf ("cksum (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -250,7 +250,7 @@ main (int argc, char **argv)
if (show_version)
{
printf ("comm - %s\n", PACKAGE_VERSION);
printf ("comm (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -1518,7 +1518,7 @@ main (int argc, char **argv)
if (show_version)
{
printf ("csplit - %s\n", PACKAGE_VERSION);
printf ("csplit (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -737,7 +737,7 @@ main (int argc, char **argv)
if (show_version)
{
printf ("cut - %s\n", PACKAGE_VERSION);
printf ("cut (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -368,7 +368,7 @@ main (int argc, char **argv)
if (show_version)
{
printf ("expand - %s\n", PACKAGE_VERSION);
printf ("expand (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -398,7 +398,7 @@ main (register int argc, register char **argv)
if (show_version)
{
printf ("fmt - %s\n", PACKAGE_VERSION);
printf ("fmt (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -310,7 +310,7 @@ main (int argc, char **argv)
if (show_version)
{
printf ("fold - %s\n", PACKAGE_VERSION);
printf ("fold (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -353,7 +353,7 @@ main (int argc, char **argv)
if (show_version)
{
printf ("head - %s\n", PACKAGE_VERSION);
printf ("head (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -505,7 +505,7 @@ main (int argc, char **argv)
if (do_version)
{
printf ("md5sum - %s\n", PACKAGE_VERSION);
printf ("md5sum (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -579,7 +579,7 @@ main (int argc, char **argv)
if (show_version)
{
printf ("nl - %s\n", PACKAGE_VERSION);
printf ("nl (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -1793,7 +1793,7 @@ the maximum\nrepresentable value of type `long'"), optarg);
if (show_version)
{
printf ("od - %s\n", PACKAGE_VERSION);
printf ("od (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -473,7 +473,7 @@ main (int argc, char **argv)
if (show_version)
{
printf ("paste - %s\n", PACKAGE_VERSION);
printf ("paste (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -616,7 +616,7 @@ main (int argc, char **argv)
if (show_version)
{
printf ("pr - %s\n", PACKAGE_VERSION);
printf ("pr (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -454,7 +454,7 @@ main (int argc, char **argv)
if (show_version)
{
printf ("split - %s\n", PACKAGE_VERSION);
printf ("split (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -235,7 +235,7 @@ main (int argc, char **argv)
if (show_version)
{
printf ("sum - %s\n", PACKAGE_VERSION);
printf ("sum (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -622,7 +622,7 @@ main (int argc, char **argv)
if (show_version)
{
printf ("tac - %s\n", PACKAGE_VERSION);
printf ("tac (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -977,7 +977,7 @@ main (int argc, char **argv)
if (show_version)
{
printf ("tail - %s\n", PACKAGE_VERSION);
printf ("tail (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -1848,7 +1848,7 @@ main (int argc, char **argv)
if (show_version)
{
printf ("tr - %s\n", PACKAGE_VERSION);
printf ("tr (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -439,7 +439,7 @@ main (int argc, char **argv)
if (show_version)
{
printf ("unexpand - %s\n", PACKAGE_VERSION);
printf ("unexpand (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -384,7 +384,7 @@ main (int argc, char **argv)
if (show_version)
{
printf ("uniq - %s\n", PACKAGE_VERSION);
printf ("uniq (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}
+1 -1
View File
@@ -293,7 +293,7 @@ main (int argc, char **argv)
if (show_version)
{
printf ("wc - %s\n", PACKAGE_VERSION);
printf ("wc (GNU %s) %s\n", PACKAGE, VERSION);
exit (EXIT_SUCCESS);
}