diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-10-11 12:31:16 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-10-11 19:32:43 +0000 |
commit | 9551aca9a685e97a03d58eb63e4b791416ba4c63 (patch) | |
tree | 7a00c7d5dab79e1a8892d90f1ed673abcc89e56d /doc | |
parent | b2467fddb1d83a0667970968493a9dad1dfb0be1 (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')
-rw-r--r-- | doc/tshark.pod | 12 |
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 |