summaryrefslogtreecommitdiff
path: root/src/hostid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hostid.c')
-rw-r--r--src/hostid.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/hostid.c b/src/hostid.c
index 017e470df..ca6dce391 100644
--- a/src/hostid.c
+++ b/src/hostid.c
@@ -29,6 +29,11 @@
#include "long-options.h"
#include "error.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "hostid"
+
+#define AUTHORS "Jim Meyering"
+
/* The name this program was run with, for error messages. */
char *program_name;
@@ -63,8 +68,8 @@ main (int argc, char **argv)
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
- parse_long_options (argc, argv, "hostid", GNU_PACKAGE, VERSION,
- "Jim Meyering", usage);
+ parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
+ AUTHORS, usage);
if (argc > 1)
{