From 45917f48483f4bea911c8371a4df6862093cfedb Mon Sep 17 00:00:00 2001 From: cmaynard Date: Wed, 28 Sep 2011 14:50:07 +0000 Subject: Rather than complain and quit if -V is missing when -O is used, do the user a favor and continue as if -V had been specified. Add explicit documentation of the -O option to the man page. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39175 f5534014-38df-0310-8fa8-9805f1628bb7 --- tshark.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tshark.c') diff --git a/tshark.c b/tshark.c index 2f4ecb4fb9..1697fd8f73 100644 --- a/tshark.c +++ b/tshark.c @@ -1235,9 +1235,6 @@ main(int argc, char *argv[]) break; } break; - case 'O': /* Only output these protocols */ - output_only = g_strdup(optarg); - break; case 'q': /* Quiet */ quiet = TRUE; break; @@ -1328,6 +1325,9 @@ main(int argc, char *argv[]) return 0; break; } + case 'O': /* Only output these protocols */ + output_only = g_strdup(optarg); + /* FALLTHROUGH */ case 'V': /* Verbose */ verbose = TRUE; /* The user asked for a verbose output, so let's ensure they get it, -- cgit v1.2.3