summaryrefslogtreecommitdiff
path: root/src/su.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/su.c')
-rw-r--r--src/su.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/su.c b/src/su.c
index 3d32a57b7..ec18c0f15 100644
--- a/src/su.c
+++ b/src/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 <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;