aboutsummaryrefslogtreecommitdiffstats
path: root/captype.c
diff options
context:
space:
mode:
authorChuck Craft <bubbasnmp@gmail.com>2021-10-13 16:56:43 -0500
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-10-13 22:54:20 +0000
commit1e18f793739f4185423cf20b759c2d6e974484b9 (patch)
treec8840b3f250e21c6996791153390255147b9d38b /captype.c
parent30863e52985e3efe01a8dd6a83d7e9f7892c17cf (diff)
captype: add options to Usage: and man page
Diffstat (limited to 'captype.c')
-rw-r--r--captype.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/captype.c b/captype.c
index 320a6be686..5820210184 100644
--- a/captype.c
+++ b/captype.c
@@ -47,7 +47,11 @@ static void
print_usage(FILE *output)
{
fprintf(output, "\n");
- fprintf(output, "Usage: captype <infile> ...\n");
+ fprintf(output, "Usage: captype [options] <infile> ...\n");
+ fprintf(output, "\n");
+ fprintf(output, "Miscellaneous:\n");
+ fprintf(output, " -h, --help display this help and exit\n");
+ fprintf(output, " -v, --version display version info and exit\n");
}
/*