aboutsummaryrefslogtreecommitdiff
path: root/gmid.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-06-29 11:04:29 +0000
committerOmar Polo <op@omarpolo.com>2021-06-29 11:04:29 +0000
commit0be2a537e6e2b336a6e46cd1f5a13663ea939ea4 (patch)
tree6ba518c1de6800057fd3c28610f119b7d98b63e1 /gmid.c
parentba65dcc8fabd45f65cc56f691ee1770ad67b2d9b (diff)
sync the usage; while there also change order and capitalize
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());
}