diff options
author | Guy Harris <gharris@sonic.net> | 2021-03-13 15:32:14 -0800 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2021-03-13 15:32:14 -0800 |
commit | 9bd144b8ea30a7345eca3c0cb590bc146f45f97c (patch) | |
tree | 9f7a88ea4d4d139469b639b8a00171e89b3040d1 /doc | |
parent | b5f2ed34b1164baae29a25d77d387307f2bc1936 (diff) |
tshark: clean u the way the -U option lists available taps.
Allow "-U ?" as well as an empty argument; an empty argument is a bit
counterintuitive.
Simplify the introductory line of output - asking for a list of taps
isn't an error in which the user failed to supply a tap name, it's a
case where the user suplied a request for a list of tap names.
Just use fprintf() to print the list, and indent the elements of the
list, as we do with other lists of valid arguments.
List the valid arguments if the user specified an invalid argument as
well.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/tshark.pod | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/tshark.pod b/doc/tshark.pod index e31320a517..aff0234a56 100644 --- a/doc/tshark.pod +++ b/doc/tshark.pod @@ -865,10 +865,11 @@ B<hms> for hours, minutes and seconds =item -U E<lt>tap nameE<gt> -PDUs export, exports PDUs from infile to outfile according to the tap name given. -Use -Y to filter. +PDUs export, exports PDUs from infile to outfile according to the tap +name given. Use -Y to filter. -Enter an empty tap name "" to get a list of available names. +Enter an empty tap name "" or a tap name of ? to get a list of available +names. =item -v|--version |