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/whoami.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/whoami.c') diff --git a/src/whoami.c b/src/whoami.c index 3c021ab19..e5fd7183f 100644 --- a/src/whoami.c +++ b/src/whoami.c @@ -27,6 +27,11 @@ #include "system.h" #include "long-options.h" +/* The official name of this program (e.g., no `g' prefix). */ +#define PROGRAM_NAME "whoami" + +#define AUTHORS "Richard Mlynarik" + /* The name this program was run with. */ char *program_name; @@ -67,8 +72,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - parse_long_options (argc, argv, "whoami", GNU_PACKAGE, VERSION, - "Richard Mlynarik", usage); + parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, + AUTHORS, usage); while ((c = getopt_long (argc, argv, "", long_options, NULL)) != -1) { -- cgit v1.2.3-54-g00ecf