diff options
author | Jim Meyering <jim@meyering.net> | 1996-10-05 13:14:11 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-10-05 13:14:11 +0000 |
commit | 4f28f318d8702fe0b953a52c2a349a214241ddf2 (patch) | |
tree | 1b344075ded61b29c8ea68bb79efbdd3ba7378df /src | |
parent | e22c80dcf0f2a658ec5ec471e6fca7cec40f1b17 (diff) | |
download | coreutils-4f28f318d8702fe0b953a52c2a349a214241ddf2.tar.xz |
(main): update --version output to conform to coding standard
Diffstat (limited to 'src')
-rw-r--r-- | src/chgrp.c | 2 | ||||
-rw-r--r-- | src/chmod.c | 2 | ||||
-rw-r--r-- | src/chown.c | 2 | ||||
-rw-r--r-- | src/cp.c | 2 | ||||
-rw-r--r-- | src/dd.c | 2 | ||||
-rw-r--r-- | src/df.c | 2 | ||||
-rw-r--r-- | src/dircolors.c | 2 | ||||
-rw-r--r-- | src/du.c | 2 | ||||
-rw-r--r-- | src/install.c | 2 | ||||
-rw-r--r-- | src/ln.c | 2 | ||||
-rw-r--r-- | src/ls.c | 4 | ||||
-rw-r--r-- | src/mkdir.c | 2 | ||||
-rw-r--r-- | src/mkfifo.c | 2 | ||||
-rw-r--r-- | src/mknod.c | 2 | ||||
-rw-r--r-- | src/mv.c | 2 | ||||
-rw-r--r-- | src/rm.c | 2 | ||||
-rw-r--r-- | src/rmdir.c | 2 | ||||
-rw-r--r-- | src/sync.c | 2 | ||||
-rw-r--r-- | src/touch.c | 2 |
19 files changed, 20 insertions, 20 deletions
diff --git a/src/chgrp.c b/src/chgrp.c index 44f40be50..812ef8106 100644 --- a/src/chgrp.c +++ b/src/chgrp.c @@ -336,7 +336,7 @@ main (int argc, char **argv) if (show_version) { - printf ("chgrp (GNU %s) %s\n", PACKAGE, VERSION); + printf ("chgrp (%s) %s\n", GNU_PACKAGE, VERSION); exit (0); } diff --git a/src/chmod.c b/src/chmod.c index 1194c4b15..1f462756e 100644 --- a/src/chmod.c +++ b/src/chmod.c @@ -305,7 +305,7 @@ main (int argc, char **argv) if (show_version) { - printf ("chmod (GNU %s) %s\n", PACKAGE, VERSION); + printf ("chmod (%s) %s\n", GNU_PACKAGE, VERSION); exit (0); } diff --git a/src/chown.c b/src/chown.c index 5f0f405fd..71f93bde7 100644 --- a/src/chown.c +++ b/src/chown.c @@ -302,7 +302,7 @@ main (int argc, char **argv) if (show_version) { - printf ("chown (GNU %s) %s\n", PACKAGE, VERSION); + printf ("chown (%s) %s\n", GNU_PACKAGE, VERSION); exit (0); } @@ -341,7 +341,7 @@ main (int argc, char **argv) if (show_version) { - printf ("cp (GNU %s) %s\n", PACKAGE, VERSION); + printf ("cp (%s) %s\n", GNU_PACKAGE, VERSION); exit (0); } @@ -339,7 +339,7 @@ main (int argc, char **argv) if (show_version) { - printf ("dd (GNU %s) %s\n", PACKAGE, VERSION); + printf ("dd (%s) %s\n", GNU_PACKAGE, VERSION); exit (0); } @@ -572,7 +572,7 @@ main (int argc, char **argv) if (show_version) { - printf ("df (GNU %s) %s\n", PACKAGE, VERSION); + printf ("df (%s) %s\n", GNU_PACKAGE, VERSION); exit (0); } diff --git a/src/dircolors.c b/src/dircolors.c index 13d4520bf..5d6a031f2 100644 --- a/src/dircolors.c +++ b/src/dircolors.c @@ -424,7 +424,7 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - parse_long_options (argc, argv, "dircolors", PACKAGE_VERSION, usage); + parse_long_options (argc, argv, "dircolors", GNU_PACKAGE, VERSION, usage); while ((optc = getopt_long (argc, argv, "bcp", long_options, NULL)) != EOF) @@ -336,7 +336,7 @@ main (int argc, char **argv) if (show_version) { - printf ("du (GNU %s) %s\n", PACKAGE, VERSION); + printf ("du (%s) %s\n", GNU_PACKAGE, VERSION); exit (0); } diff --git a/src/install.c b/src/install.c index 653e20a7a..af2bd21bd 100644 --- a/src/install.c +++ b/src/install.c @@ -244,7 +244,7 @@ main (int argc, char **argv) if (show_version) { - printf ("install (GNU %s) %s\n", PACKAGE, VERSION); + printf ("install (%s) %s\n", GNU_PACKAGE, VERSION); exit (0); } @@ -421,7 +421,7 @@ main (int argc, char **argv) if (show_version) { - printf ("ln (GNU %s) %s\n", PACKAGE, VERSION); + printf ("ln (%s) %s\n", GNU_PACKAGE, VERSION); exit (0); } @@ -662,10 +662,10 @@ main (int argc, char **argv) if (show_version) { - printf ("%s - %s\n", + printf ("%s (%s) %s\n", (ls_mode == LS_LS ? "ls" : (ls_mode == LS_MULTI_COL ? "dir" : "vdir")), - PACKAGE_VERSION); + GNU_PACKAGE, VERSION); exit (0); } diff --git a/src/mkdir.c b/src/mkdir.c index 56cc3d8cc..2cf25d2d4 100644 --- a/src/mkdir.c +++ b/src/mkdir.c @@ -121,7 +121,7 @@ main (int argc, char **argv) if (show_version) { - printf ("mkdir (GNU %s) %s\n", PACKAGE, VERSION); + printf ("mkdir (%s) %s\n", GNU_PACKAGE, VERSION); exit (0); } diff --git a/src/mkfifo.c b/src/mkfifo.c index 3cd6f244d..87db0c10c 100644 --- a/src/mkfifo.c +++ b/src/mkfifo.c @@ -106,7 +106,7 @@ main (int argc, char **argv) if (show_version) { - printf ("mkfifo (GNU %s) %s\n", PACKAGE, VERSION); + printf ("mkfifo (%s) %s\n", GNU_PACKAGE, VERSION); exit (0); } diff --git a/src/mknod.c b/src/mknod.c index 1f6a2197c..b5f70441a 100644 --- a/src/mknod.c +++ b/src/mknod.c @@ -115,7 +115,7 @@ main (int argc, char **argv) if (show_version) { - printf ("mknod (GNU %s) %s\n", PACKAGE, VERSION); + printf ("mknod (%s) %s\n", GNU_PACKAGE, VERSION); exit (0); } @@ -468,7 +468,7 @@ main (int argc, char **argv) if (show_version) { - printf ("mv (GNU %s) %s\n", PACKAGE, VERSION); + printf ("mv (%s) %s\n", GNU_PACKAGE, VERSION); exit (0); } @@ -157,7 +157,7 @@ main (int argc, char **argv) if (show_version) { - printf ("rm (GNU %s) %s\n", PACKAGE, VERSION); + printf ("rm (%s) %s\n", GNU_PACKAGE, VERSION); exit (0); } diff --git a/src/rmdir.c b/src/rmdir.c index 31246c730..065a1cb8a 100644 --- a/src/rmdir.c +++ b/src/rmdir.c @@ -125,7 +125,7 @@ main (int argc, char **argv) if (show_version) { - printf ("rmdir (GNU %s) %s\n", PACKAGE, VERSION); + printf ("rmdir (%s) %s\n", GNU_PACKAGE, VERSION); exit (0); } diff --git a/src/sync.c b/src/sync.c index 90a15784b..bed0bfcba 100644 --- a/src/sync.c +++ b/src/sync.c @@ -56,7 +56,7 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - parse_long_options (argc, argv, "sync", PACKAGE_VERSION, usage); + parse_long_options (argc, argv, "sync", GNU_PACKAGE, VERSION, usage); if (argc != 1) error (0, 0, _("ignoring all arguments")); diff --git a/src/touch.c b/src/touch.c index 69ebbf425..c5a3baa9e 100644 --- a/src/touch.c +++ b/src/touch.c @@ -341,7 +341,7 @@ main (int argc, char **argv) if (show_version) { - printf ("touch (GNU %s) %s\n", PACKAGE, VERSION); + printf ("touch (%s) %s\n", GNU_PACKAGE, VERSION); exit (0); } |