diff options
author | cmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-09-28 14:50:07 +0000 |
---|---|---|
committer | cmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-09-28 14:50:07 +0000 |
commit | 45917f48483f4bea911c8371a4df6862093cfedb (patch) | |
tree | fcc1ff697135d82295ec9d6bccdc6cd2c565927d /tshark.c | |
parent | 647c11d4d8e57498dd7aad4cab6fb653981fe867 (diff) |
Rather than complain and quit if -V is missing when -O <protocols> is used, do the user a favor and continue as if -V had been specified. Add explicit documentation of the -O <protocols> option to the man page.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39175 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tshark.c')
-rw-r--r-- | tshark.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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, |