diff options
Diffstat (limited to 'src/hostname.c')
-rw-r--r-- | src/hostname.c | 3 |
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) |