summaryrefslogtreecommitdiff
path: root/src/chroot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chroot.c')
-rw-r--r--src/chroot.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/chroot.c b/src/chroot.c
index 128f905ea..5fc29e589 100644
--- a/src/chroot.c
+++ b/src/chroot.c
@@ -25,6 +25,11 @@
#include "long-options.h"
#include "error.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "chroot"
+
+#define AUTHORS "Roland McGrath"
+
/* The name this program was run with, for error messages. */
char *program_name;
@@ -61,8 +66,8 @@ main (int argc, char **argv)
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
- parse_long_options (argc, argv, "chroot", GNU_PACKAGE, VERSION,
- "Roland McGrath", usage);
+ parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
+ AUTHORS, usage);
if (argc == 1)
{
error (0, 0, _("too few arguments"));