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/date.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/date.c') diff --git a/src/date.c b/src/date.c index bbba8fa49..a61fb45b6 100644 --- a/src/date.c +++ b/src/date.c @@ -30,6 +30,11 @@ #include "long-options.h" #include "posixtm.h" +/* The official name of this program (e.g., no `g' prefix). */ +#define PROGRAM_NAME "date" + +#define AUTHORS "David MacKenzie" + #ifndef STDC_HEADERS size_t strftime (); time_t time (); @@ -280,8 +285,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - parse_long_options (argc, argv, "date", GNU_PACKAGE, VERSION, - "David MacKenzie", usage); + parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, + AUTHORS, usage); while ((optc = getopt_long (argc, argv, "d:f:r:Rs:u", long_options, NULL)) != -1) -- cgit v1.2.3-54-g00ecf