aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-11-16 18:25:56 -0800
committerGuy Harris <guy@alum.mit.edu>2014-11-17 02:26:57 +0000
commit25f950eca945dde38bdbeb96c2c5dc4e9ea72029 (patch)
tree6f794521f0fb2f12859ef7ffa62ec8032d847d60 /doc
parent57b72275b7f5c5ef99208fbcf7aa6647451f4c4d (diff)
Add tshark -G dissector-tables to dump a list of dissector tables.
That list doesn't show the entries in the dissector tables, just information about the tables themselves. Clean up some tshark man page issues while we're at it. Change-Id: I70beee34110f5c0d58105944dd71105a8400f5ca Reviewed-on: https://code.wireshark.org/review/5360 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'doc')
-rw-r--r--doc/tshark.pod14
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/tshark.pod b/doc/tshark.pod
index 05f5b9700f..f17253419e 100644
--- a/doc/tshark.pod
+++ b/doc/tshark.pod
@@ -54,7 +54,7 @@ S<[ B<--capture-comment> E<lt>commentE<gt> ]>
S<[ E<lt>capture filterE<gt> ]>
B<tshark>
-B<-G> [column-formats|currentprefs|decodes|defaultprefs|fields|ftypes|heuristic-decodes|plugins|protocols|values]
+B<-G> [ E<lt>report typeE<gt> ]
=head1 DESCRIPTION
@@ -355,7 +355,7 @@ This option causes the output file(s) to be created with group-read permission
(meaning that the output file(s) can be read by other members of the calling
user's group).
-=item -G [column-formats|currentprefs|decodes|defaultprefs|fields|ftypes|heuristic-decodes|plugins|protocols|values]
+=item -G [ E<lt>report typeE<gt> ]
The B<-G> option will cause B<Tshark> to dump one of several types of glossaries
and then exit. If no specific glossary type is specified, then the B<fields> report will be generated by default.
@@ -379,6 +379,14 @@ There is one record per line. The fields are tab-delimited.
B<defaultprefs> Dumps a default preferences file to stdout.
+B<dissector-tables> Dumps a list of dissector tables to stdout. There
+is one record per line. The fields are tab-delimited.
+
+ * Field 1 = dissector table name, e.g. "tcp.port"
+ * Field 2 = name used for the dissector table in the GUI
+ * Field 3 = type (textual representation of the ftenum type)
+ * Field 4 = base for display (for integer types)
+
B<fields> Dumps the contents of the registration database to
stdout. An independent program can take this output and format it into nice
tables or HTML or whatever. There is one record per line. Each record is
@@ -396,7 +404,7 @@ The fields are tab-delimited.
* Field 1 = 'F'
* Field 2 = descriptive field name
* Field 3 = field abbreviation
- * Field 4 = type ( textual representation of the ftenum type )
+ * Field 4 = type (textual representation of the ftenum type)
* Field 5 = parent protocol abbreviation
* Field 6 = base for display (for integer types); "parent bitfield width" for FT_BOOLEAN
* Field 7 = bitmask: format: hex: 0x....