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/uname.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/uname.c') diff --git a/src/uname.c b/src/uname.c index f2499b8e2..4017dbe90 100644 --- a/src/uname.c +++ b/src/uname.c @@ -42,6 +42,11 @@ #include "error.h" #include "long-options.h" +/* The official name of this program (e.g., no `g' prefix). */ +#define PROGRAM_NAME "uname" + +#define AUTHORS "David MacKenzie" + static void print_element PARAMS ((unsigned int mask, char *element)); /* Values that are bitwise or'd into `toprint'. */ @@ -118,8 +123,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - parse_long_options (argc, argv, "uname", GNU_PACKAGE, VERSION, - "David MacKenzie", usage); + parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, + AUTHORS, usage); toprint = 0; -- cgit v1.2.3-54-g00ecf