summaryrefslogtreecommitdiff
path: root/src/nice.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nice.c')
-rw-r--r--src/nice.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/nice.c b/src/nice.c
index 2cad4639f..ead879416 100644
--- a/src/nice.c
+++ b/src/nice.c
@@ -34,6 +34,11 @@
#include "long-options.h"
#include "error.h"
+/* The official name of this program (e.g., no `g' prefix). */
+#define PROGRAM_NAME "nice"
+
+#define AUTHORS "David MacKenzie"
+
#ifdef NICE_PRIORITY
# define GET_PRIORITY() nice (0)
#else
@@ -88,8 +93,8 @@ main (int argc, char **argv)
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
- parse_long_options (argc, argv, "nice", GNU_PACKAGE, VERSION,
- "David MacKenzie", usage);
+ parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
+ AUTHORS, usage);
for (i = 1; i < argc; /* empty */)
{