summaryrefslogtreecommitdiff
path: root/src/install.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-10-06 00:24:55 +0000
committerJim Meyering <jim@meyering.net>1993-10-06 00:24:55 +0000
commit19cd821ddb4b6c195239870de617a99781e081ce (patch)
tree4b7eb8ba1567cfb257bcbc6f12265d0084bc4bef /src/install.c
parent061697058cd98ffca2a110c9fb736f0dd0c5c459 (diff)
downloadcoreutils-19cd821ddb4b6c195239870de617a99781e081ce.tar.xz
merge with 3.8.3a
Diffstat (limited to 'src/install.c')
-rw-r--r--src/install.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/install.c b/src/install.c
index e6fc16276..31a15dd1b 100644
--- a/src/install.c
+++ b/src/install.c
@@ -136,7 +136,7 @@ static int dir_arg;
/* If non-zero, display usage information and exit. */
static int show_help;
-/* If non-zero, print the version on standard error. */
+/* If non-zero, print the version on standard output and exit. */
static int show_version;
static struct option const long_options[] =
@@ -199,7 +199,7 @@ main (argc, argv)
if (show_version)
{
- fprintf (stderr, "%s\n", version_string);
+ printf ("%s\n", version_string);
exit (0);
}