aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-06-29 10:51:42 +0000
committerOmar Polo <op@omarpolo.com>2021-06-29 10:51:42 +0000
commit0233b0f6b9fcbbca701d245e82fbddca20862eeb (patch)
treea2d1d7c8fc63b883924c06addff5eddd59814877
parent9327bc045a93253310a3b6933e8bd96d27298185 (diff)
add version in usage
-rw-r--r--gmid.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gmid.c b/gmid.c
index 81f69db..41abbee 100644
--- a/gmid.c
+++ b/gmid.c
@@ -381,8 +381,9 @@ 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",
+ "usage: %s [-fn] [-c config] [-P pidfile] | [-6h] [-d certs-dir] [-H host]\n"
+ " [-p port] [-x cgi] [dir]\n"
+ "version: gmid 1.7\n",
getprogname());
}