aboutsummaryrefslogtreecommitdiffstats
path: root/reordercap.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 /reordercap.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 'reordercap.c')
-rw-r--r--reordercap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/reordercap.c b/reordercap.c
index 291bcb11be..3d225bdec0 100644
--- a/reordercap.c
+++ b/reordercap.c
@@ -55,6 +55,7 @@ print_usage(FILE *output)
fprintf(output, "Options:\n");
fprintf(output, " -n don't write to output file if the input file is ordered.\n");
fprintf(output, " -h display this help and exit.\n");
+ fprintf(output, " -v print version information and exit.\n");
}
/* Remember where this frame was in the file */