From: Jim Meyering Date: Wed, 31 Mar 1999 04:16:08 +0000 (+0000) Subject: (PROGRAM_NAME, AUTHORS): Define and use. X-Git-Tag: v2.22-rc1~347^2~10^2~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=83cafa6f555379c47bc2df5945026b16afcb8403;p=thirdparty%2Futil-linux.git (PROGRAM_NAME, AUTHORS): Define and use. --- diff --git a/login-utils/su.c b/login-utils/su.c index 3d32a57b7b..ec18c0f15e 100644 --- a/login-utils/su.c +++ b/login-utils/su.c @@ -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 #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;