diff options
Diffstat (limited to 'src/_usage.c')
-rw-r--r-- | src/_usage.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/_usage.c b/src/_usage.c index 54e30d96..28f98150 100644 --- a/src/_usage.c +++ b/src/_usage.c @@ -10,8 +10,11 @@ static void usage (int exit_status) { int i; - printf ("Usage: " APPLET " [options]\n\n"); - printf ("Options: [" getoptstring "]\n"); + printf ("Usage: " APPLET " [options] "); +#ifdef extraopts + printf (extraopts); +#endif + printf ("\n\nOptions: [" getoptstring "]\n"); for (i = 0; longopts[i].name; ++i) printf (" -%c, --%s\n", longopts[i].val, longopts[i].name); exit (exit_status); |