From 03c1b8518c2295aebc9e723686d650162059ee96 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 31 Mar 1999 04:16:08 +0000 Subject: (PROGRAM_NAME, AUTHORS): Define and use. --- src/who.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/who.c') diff --git a/src/who.c b/src/who.c index 557fe21f9..88088f313 100644 --- a/src/who.c +++ b/src/who.c @@ -33,6 +33,11 @@ #include "readutmp.h" #include "system.h" +/* The official name of this program (e.g., no `g' prefix). */ +#define PROGRAM_NAME "who" + +#define AUTHORS "Joseph Arceneaux and David MacKenzie" + #ifndef MAXHOSTNAMELEN # define MAXHOSTNAMELEN 64 #endif @@ -383,8 +388,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - parse_long_options (argc, argv, "who", 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, "ilmqsuwHT", longopts, &longind)) != -1) -- cgit v1.2.3-54-g00ecf