]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
(PROGRAM_NAME, AUTHORS): Define and use.
authorJim Meyering <jim@meyering.net>
Wed, 31 Mar 1999 04:16:08 +0000 (04:16 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 31 Mar 1999 04:16:08 +0000 (04:16 +0000)
login-utils/su.c

index 3d32a57b7b3cac55744dceded16f89a4e0b1da3a..ec18c0f15e36977b09cbfe914f7c4369a68b1c87 100644 (file)
@@ -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;