aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2021-12-26 09:35:37 -0800
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-12-27 08:04:25 +0000
commit87eca12c3853856b2e2e9d336e2d12158f91c4c6 (patch)
treea69b0493553d518ff9aae68f0b3c6035c7d956c2 /tshark.c
parentb1b1d2454867cf886458ae5244ae88d4a1b4640f (diff)
Docs: Document our diagnostic output options.
Add docs/diagnostic-options.adoc, which is a snippet that documents our various --log-* options. Include it in the dumpcap, rawshark, and tshark man pages. Make the ws_log_print_usage output more consistent.
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tshark.c b/tshark.c
index 92bcd4ecf3..c8f5191d38 100644
--- a/tshark.c
+++ b/tshark.c
@@ -472,10 +472,11 @@ print_usage(FILE *output)
fprintf(output, " values\n");
fprintf(output, " --elastic-mapping-filter <protocols> If -G elastic-mapping is specified, put only the\n");
fprintf(output, " specified protocols within the mapping file\n");
+ fprintf(output, "\n");
ws_log_print_usage(output);
-
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");