aboutsummaryrefslogtreecommitdiff
path: root/src/_usage.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-19 12:46:08 +0000
committerRoy Marples <roy@marples.name>2007-12-19 12:46:08 +0000
commitcd45e5435762d8c6cd13287df7df16b97755176e (patch)
treeef0c7fb0a96e103e2a0dd79ee8c0f47f62ae7174 /src/_usage.c
parent2f7218c9849e667ba20d76e4dfe46b4bb195063a (diff)
Introduce cbasename so we don't have to strdup(basename) and free all the time.
Diffstat (limited to 'src/_usage.c')
-rw-r--r--src/_usage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/_usage.c b/src/_usage.c
index ce733a97..b079e320 100644
--- a/src/_usage.c
+++ b/src/_usage.c
@@ -29,6 +29,7 @@ static void usage (int exit_status)
{
const char * const has_arg[] = { "", "<arg>", "[arg]" };
int i;
+
printf ("Usage: %s [options] ", applet);
#ifdef extraopts
printf (extraopts);