aboutsummaryrefslogtreecommitdiff
path: root/gmid.c
diff options
context:
space:
mode:
Diffstat (limited to 'gmid.c')
-rw-r--r--gmid.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gmid.c b/gmid.c
index 3bc1055..4fcd5c2 100644
--- a/gmid.c
+++ b/gmid.c
@@ -381,9 +381,10 @@ static void
usage(void)
{
fprintf(stderr,
- "usage: %s [-fn] [-c config] [-P pidfile] | [-6h] [-d certs-dir] [-H host]\n"
- " [-p port] [-x cgi] [dir]\n"
- "version: " GMID_STRING "\n",
+ "Version: " GMID_STRING "\n"
+ "Usage: %s [-fnv] [-c config] [-P pidfile]\n"
+ " %s [-6hVv] [-d certs-dir] [-H hostname] [-p port] [-x cgi] [dir]\n",
+ getprogname(),
getprogname());
}