aboutsummaryrefslogtreecommitdiff
path: root/src/rc/_usage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/_usage.c')
-rw-r--r--src/rc/_usage.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rc/_usage.c b/src/rc/_usage.c
index b6e2bebb..57cdb9a4 100644
--- a/src/rc/_usage.c
+++ b/src/rc/_usage.c
@@ -30,7 +30,11 @@ static void usage (int exit_status)
const char * const has_arg[] = { "", "<arg>", "[arg]" };
int i;
+#ifdef usagestring
+ printf (usagestring);
+#else
printf ("Usage: %s [options] ", applet);
+#endif
#ifdef extraopts
printf (extraopts);
#endif