aboutsummaryrefslogtreecommitdiffstats
path: root/doc/tshark.pod
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-10-11 12:31:16 -0700
committerGuy Harris <guy@alum.mit.edu>2017-10-11 19:32:43 +0000
commit9551aca9a685e97a03d58eb63e4b791416ba4c63 (patch)
tree7a00c7d5dab79e1a8892d90f1ed673abcc89e56d /doc/tshark.pod
parentb2467fddb1d83a0667970968493a9dad1dfb0be1 (diff)
Add --print as an alias for -P, to match tcpdump.
tcpdump just got a --print option, which causes packet information to be printed even if the raw packets are being saved to a file with -w. We have -P for the same purpose; make --print another name for it. While we're at it: document --help and --version; just speak of -P/--print as causing printing even of the packet details, even though -V forces printing with -w, for consistency with how --print is documented for tcpdump; fix the description of -h/--help. Change-Id: Idf650a202a09a2d1682edbd9d76123f1b1412b55 Reviewed-on: https://code.wireshark.org/review/23888 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'doc/tshark.pod')
-rw-r--r--doc/tshark.pod12
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/tshark.pod b/doc/tshark.pod
index 67c538544e..904b15b0a4 100644
--- a/doc/tshark.pod
+++ b/doc/tshark.pod
@@ -500,7 +500,9 @@ the type of record.
=item -h
-Print the version and options and exits.
+=item --help
+
+Print the version and options and exit.
=item -H E<lt>input hosts fileE<gt>
@@ -659,8 +661,10 @@ promiscuous mode.
=item -P
-Decode and display the packet summary, even if writing raw packet data using
-the B<-w> option.
+=item --print
+
+Decode and display the packet summary or details, even if writing raw
+packet data using the B<-w> option.
=item -q
@@ -835,6 +839,8 @@ Enter an empty tap name "" to get a list of available names.
=item -v
+=item --version
+
Print the version and exit.
=item -V