Describe the "-d" option a little more clearly.
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 18 Dec 2008 23:25:50 +0000 (23:25 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 18 Dec 2008 23:25:50 +0000 (23:25 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27055 f5534014-38df-0310-8fa8-9805f1628bb7

doc/tshark.pod

index 38db46115fa04d71fdbb91afcdd066030b0b56ae..b69cfbae8b0d37804f2d01a3fb2a968293a395d4 100644 (file)
@@ -192,13 +192,22 @@ Run with the given configuration profile.
 
 =item -d  E<lt>layer typeE<gt>==E<lt>selectorE<gt>,E<lt>decode-as protocolE<gt>
 
-Specify that if the layer type in question (for example, B<tcp.port> or
-B<udp.port> for a TCP or UDP port number) has the specified selector
-value, packets should be dissected as the specified protocol.
+Like Wireshark's B<Decode As...> feature, this lets you specify how a
+layer type should be dissected. If the layer type in question (for example,
+B<tcp.port> or B<udp.port> for a TCP or UDP port number) has the specified
+selector value, packets should be dissected as the specified protocol.
 
 Example: B<-d tcp.port==8888,http> will decode any traffic running over
 TCP port 8888 as HTTP.
 
+Using an invalid selector or protocol will print out a list of valid selectors
+and protocol names, respectively.
+
+Example: B<-d .> is a quick way to get a list of valid selectors.
+
+Example: B<-d ethertype==0x0800.> is a quick way to get a list of protocols that can be
+selected with an ethertype.
+
 =item -D
 
 Print a list of the interfaces on which B<TShark> can capture, and