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/su.c | |
parent | 39090114f0812d93ce9c065a6f2fae02f6e06d50 (diff) | |
download | coreutils-03c1b8518c2295aebc9e723686d650162059ee96.tar.xz |
(PROGRAM_NAME, AUTHORS): Define and use.
Diffstat (limited to 'src/su.c')
-rw-r--r-- | src/su.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -115,6 +115,11 @@ uid_t getuid (); #include "error.h" +/* The official name of this program (e.g., no `g' prefix). */ +#define PROGRAM_NAME "su" + +#define AUTHORS "David MacKenzie" + #if HAVE_PATHS_H # include <paths.h> #endif @@ -460,8 +465,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - parse_long_options (argc, argv, "su", GNU_PACKAGE, VERSION, - "David MacKenzie", usage); + parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION, + AUTHORS, usage); fast_startup = 0; simulate_login = 0; |