aboutsummaryrefslogtreecommitdiffstats
path: root/capinfos.c
diff options
context:
space:
mode:
authorChuck Craft <bubbasnmp@gmail.com>2021-10-12 11:26:31 -0500
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-10-12 20:35:15 +0000
commit1998e7f34b1c1f0e28e491416888012f9d868b1c (patch)
treeb98d09f62548cdecaf61d4a30f13913aa881334f /capinfos.c
parentfd076e6ca86d3c2e936f6de8c10eddd9a9d32fc6 (diff)
capinfos: man page typos; add longopts to Usage:
The verbiage for first/last packets and start/end times seem to not be consistent. Changing will also require a change to Capture File Statistics in the Wireshark Gui. Future MR.
Diffstat (limited to 'capinfos.c')
-rw-r--r--capinfos.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/capinfos.c b/capinfos.c
index 6982731c50..2d72635805 100644
--- a/capinfos.c
+++ b/capinfos.c
@@ -1487,7 +1487,7 @@ print_usage(FILE *output)
fprintf(output, " -E display the capture file encapsulation\n");
fprintf(output, " -I display the capture file interface information\n");
fprintf(output, " -F display additional capture file information\n");
- fprintf(output, " -H display the SHA256, RMD160, and SHA1 hashes of the file\n");
+ fprintf(output, " -H display the SHA256, RIPEMD160, and SHA1 hashes of the file\n");
fprintf(output, " -k display the capture comment\n");
fprintf(output, "\n");
fprintf(output, "Size infos:\n");
@@ -1531,7 +1531,8 @@ print_usage(FILE *output)
fprintf(output, " -Q quote infos with double quotes (\")\n");
fprintf(output, "\n");
fprintf(output, "Miscellaneous:\n");
- fprintf(output, " -h display this help and exit\n");
+ fprintf(output, " -h, --help display this help and exit\n");
+ fprintf(output, " -v, --version display version info and exit\n");
fprintf(output, " -C cancel processing if file open fails (default is to continue)\n");
fprintf(output, " -A generate all infos (default)\n");
fprintf(output, " -K disable displaying the capture comment\n");