diff options
Diffstat (limited to 'src/uptime.c')
-rw-r--r-- | src/uptime.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/uptime.c b/src/uptime.c index 88b1945e6..0bf36e0ec 100644 --- a/src/uptime.c +++ b/src/uptime.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 "uptime" + +#define AUTHORS "Joseph Arceneaux and David MacKenzie" + int getloadavg (); /* The name this program was run with. */ @@ -185,8 +190,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - parse_long_options (argc, argv, "uptime", 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) { |