diff options
author | Chuck Craft <bubbasnmp@gmail.com> | 2021-10-13 16:56:43 -0500 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-10-13 22:54:20 +0000 |
commit | 1e18f793739f4185423cf20b759c2d6e974484b9 (patch) | |
tree | c8840b3f250e21c6996791153390255147b9d38b /captype.c | |
parent | 30863e52985e3efe01a8dd6a83d7e9f7892c17cf (diff) |
captype: add options to Usage: and man page
Diffstat (limited to 'captype.c')
-rw-r--r-- | captype.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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"); } /* |