summaryrefslogtreecommitdiff
path: root/src/users.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.c')
-rw-r--r--src/users.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/users.c b/src/users.c
index 09fff715c..b0df3aaa1 100644
--- a/src/users.c
+++ b/src/users.c
@@ -26,6 +26,11 @@
#include "readutmp.h"
#include "system.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "users"
+
+#define AUTHORS "Joseph Arceneaux and David MacKenzie"
+
/* The name this program was run with. */
char *program_name;
@@ -129,8 +134,8 @@ main (int argc, char **argv)
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
- parse_long_options (argc, argv, "users", GNU_PACKAGE, VERSION,
- "Joseph Arceneaux and David MacKenzie", usage);
+ parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
+ AUTHORS, usage);
while ((optc = getopt_long (argc, argv, "", longopts, &longind)) != -1)
{