diff options
author | Jim Meyering <jim@meyering.net> | 1999-03-31 04:11:35 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-03-31 04:11:35 +0000 |
commit | 39090114f0812d93ce9c065a6f2fae02f6e06d50 (patch) | |
tree | b093b7942c03b50a9da30be4850c9dc011467b99 /src/expr.c | |
parent | b2513fc340ff971964709e3b19694423ec83ece3 (diff) | |
download | coreutils-39090114f0812d93ce9c065a6f2fae02f6e06d50.tar.xz |
(PROGRAM_NAME, AUTHORS): Define and use.
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/expr.c b/src/expr.c index 18dc2d876..a61bc34c9 100644 --- a/src/expr.c +++ b/src/expr.c @@ -37,6 +37,11 @@ #include "long-options.h" #include "error.h" +/* The official name of this program (e.g., no `g' prefix). */ +#define PROGRAM_NAME "expr" + +#define AUTHORS "Mike Parker" + #define NEW(type) ((type *) xmalloc (sizeof (type))) #define OLD(x) free ((char *) x) @@ -167,8 +172,8 @@ main (int argc, char **argv) /* Recognize --help or --version only if POSIXLY_CORRECT is not set. */ if (!posixly_correct) - parse_long_options (argc, argv, "expr", GNU_PACKAGE, VERSION, - "Mike Parker", usage); + parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, + AUTHORS, usage); if (argc == 1) { |