diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-09-28 14:50:07 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-09-28 14:50:07 +0000 |
commit | aa1199d01fda1bd13870112b4f06009ddfd7de9d (patch) | |
tree | fcc1ff697135d82295ec9d6bccdc6cd2c565927d /tshark.c | |
parent | e851859a0e4c5b3c64a0c4c1bf32e49b2d52c509 (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.
svn path=/trunk/; revision=39175
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, |