aboutsummaryrefslogtreecommitdiffstats
path: root/mergecap.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2020-12-22 15:57:14 +0100
committerGuy Harris <gharris@sonic.net>2020-12-22 21:18:21 +0000
commit38ab00a094e476cdb93bf1c6a1f27246b6cba179 (patch)
tree0f11cbe4f66668da6e7d67ee70a9881e0c3ae642 /mergecap.c
parentb3352bd639ba2cffd204d6e0b63bc72d34513077 (diff)
Let the CLI programs tell about how to show their version
Add to the help text the option to show the version of the CLI program.
Diffstat (limited to 'mergecap.c')
-rw-r--r--mergecap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mergecap.c b/mergecap.c
index 94563a33a9..ed6a6790ac 100644
--- a/mergecap.c
+++ b/mergecap.c
@@ -72,6 +72,7 @@ print_usage(FILE *output)
fprintf(output, "Miscellaneous:\n");
fprintf(output, " -h display this help and exit.\n");
fprintf(output, " -v verbose output.\n");
+ fprintf(output, " -V print version information and exit.\n");
}
/*