diff options
author | Jim Meyering <jim@meyering.net> | 1999-03-31 04:16:08 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-03-31 04:16:08 +0000 |
commit | 03c1b8518c2295aebc9e723686d650162059ee96 (patch) | |
tree | 1cc62eb21d03f319983491bda793aae61306bc92 /src/pinky.c | |
parent | 39090114f0812d93ce9c065a6f2fae02f6e06d50 (diff) | |
download | coreutils-03c1b8518c2295aebc9e723686d650162059ee96.tar.xz |
(PROGRAM_NAME, AUTHORS): Define and use.
Diffstat (limited to 'src/pinky.c')
-rw-r--r-- | src/pinky.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/pinky.c b/src/pinky.c index 31c75ea7b..4bf6f7e23 100644 --- a/src/pinky.c +++ b/src/pinky.c @@ -27,6 +27,11 @@ #include "long-options.h" #include "readutmp.h" +/* The official name of this program (e.g., no `g' prefix). */ +#define PROGRAM_NAME "pinky" + +#define AUTHORS "Joseph Arceneaux, David MacKenzie, and Kaveh Ghazi" + #ifndef MAXHOSTNAMELEN # define MAXHOSTNAMELEN 64 #endif @@ -435,9 +440,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - parse_long_options (argc, argv, "pinky", GNU_PACKAGE, VERSION, - "Joseph Arceneaux, David MacKenzie, and Kaveh Ghazi", - usage); + parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, + AUTHORS, usage); while ((optc = getopt_long (argc, argv, "sfwiqbhlp", longopts, &longind)) != -1) |