From 067ef3e08a4728d37c64a50da81087cc7b3ad2e0 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 16 Apr 2017 20:47:34 -0700 Subject: 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 --- ui/commandline.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui/commandline.c') 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 \n"); + fprintf(output, " enable dissection of proto_name\n"); fprintf(output, " --disable-protocol \n"); fprintf(output, " disable dissection of proto_name\n"); fprintf(output, " --enable-heuristic \n"); -- cgit v1.2.1