aboutsummaryrefslogtreecommitdiffstats
path: root/ui/commandline.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-04-16 20:47:34 -0700
committerGuy Harris <guy@alum.mit.edu>2017-04-17 03:48:14 +0000
commit067ef3e08a4728d37c64a50da81087cc7b3ad2e0 (patch)
tree5cab5283882467e243890488389d61cbab82504f /ui/commandline.c
parentea1f62a8e8f9624de9447e8cd71f4d95b292cc0b (diff)
Clean up documentation and help messages for protocol enabling/disabling.
List all of --enable-protocol, --disable-protocol, --enable-heuristic, and --disable-heuristic in the SYNOPSIS section of the man pages. Undent after the list of taps for the -z option, so the following options are at the same indentation as other options. List --enable-protocol in the DESCRIPTION, above --disable-protocol. Include --enable-protocol in the help message. Change-Id: I680a54430789f3543b2d539fbded22b0b57f7f76 Reviewed-on: https://code.wireshark.org/review/21159 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/commandline.c')
-rw-r--r--ui/commandline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/commandline.c b/ui/commandline.c
index acd4d40d6b..127bb6a4af 100644
--- a/ui/commandline.c
+++ b/ui/commandline.c
@@ -135,6 +135,8 @@ commandline_print_usage(gboolean for_help_option) {
fprintf(output, " -d %s ...\n", DECODE_AS_ARG_TEMPLATE);
fprintf(output, " \"Decode As\", see the man page for details\n");
fprintf(output, " Example: tcp.port==8888,http\n");
+ fprintf(output, " --enable-protocol <proto_name>\n");
+ fprintf(output, " enable dissection of proto_name\n");
fprintf(output, " --disable-protocol <proto_name>\n");
fprintf(output, " disable dissection of proto_name\n");
fprintf(output, " --enable-heuristic <short_name>\n");