summaryrefslogtreecommitdiff
path: root/src/hostname.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-06-20 14:14:34 +0000
committerJim Meyering <jim@meyering.net>1994-06-20 14:14:34 +0000
commit7a3fb2d7ad5117e0a156ef90ab6f08a32f7436f7 (patch)
tree5f78cf1d322f37aac67cad20ae385edbc51de17b /src/hostname.c
parent3a3b00cc54c2dad4ab3bea5fdc81e06f467b5846 (diff)
downloadcoreutils-7a3fb2d7ad5117e0a156ef90ab6f08a32f7436f7.tar.xz
.
Diffstat (limited to 'src/hostname.c')
-rw-r--r--src/hostname.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hostname.c b/src/hostname.c
index 441c08953..d49aa1c48 100644
--- a/src/hostname.c
+++ b/src/hostname.c
@@ -32,6 +32,7 @@
#include <sys/types.h>
#include "system.h"
+#include "version.h"
#include "long-options.h"
#if !defined(HAVE_SETHOSTNAME) && defined(HAVE_SYSINFO) && \
@@ -91,7 +92,7 @@ main (argc, argv)
program_name = argv[0];
- parse_long_options (argc, argv, "hostname", usage);
+ parse_long_options (argc, argv, "hostname", version_string, usage);
#ifdef HAVE_SETHOSTNAME
if (argc == 2)