path: root/doc/tshark.pod
diff options
authorDave Goodell <dave@goodell.io>2017-04-24 22:19:18 -0700
committerMichael Mann <mmann78@netscape.net>2017-06-11 13:36:19 +0000
commit2be411a215072052a3df879e707ace1948e3f3f6 (patch)
tree9a3cad4943c64a2cedd6e8e4d3e6c9c9df45c509 /doc/tshark.pod
parentaffa6f18c87eaf430cc0bf260c54fbfe32976a5f (diff)
tshark: add "--color" option emulating wireshark colors
With this commit, tshark will mimic the packet coloring present in the Wireshark GUI whenever "--color" is passed. This initial commit only adds such support for the standard text output format. A future commit could potentially broaden this support to other output modes (such as "-V" mode). Bug: 5158 Change-Id: I59329e32475b0c67e28802e79610544d4868ea2d Reviewed-on: https://code.wireshark.org/review/21325 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'doc/tshark.pod')
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/tshark.pod b/doc/tshark.pod
index e6034f6..512ff1c 100644
--- a/doc/tshark.pod
+++ b/doc/tshark.pod
@@ -54,6 +54,7 @@ S<[ B<-Y> E<lt>displaY filterE<gt> ]>
S<[ B<-M> E<lt>auto session resetE<gt> ]>
S<[ B<-z> E<lt>statisticsE<gt> ]>
S<[ B<--capture-comment> E<lt>commentE<gt> ]>
+S<[ B<--color> ]>
S<[ B<--export-objects> E<lt>protocolE<gt>,E<lt>destdirE<gt> ]>
S<[ B<--enable-protocol> E<lt>proto_nameE<gt> ]>
S<[ B<--disable-protocol> E<lt>proto_nameE<gt> ]>
@@ -1613,6 +1614,14 @@ Add a capture comment to the output file.
This option is only available if a new output file in pcapng format is
created. Only one capture comment may be set per output file.
+=item --color
+Enable coloring of packets according to standard Wireshark color filters. This
+is currently implemented via 24-bit "true color" terminal escape sequences that
+are not supported by all terminal emulators. See
+L<https://wiki.wireshark.org/ColoringRules> for more information on configuring
+color filters.
=item --export-objects E<lt>protocolE<gt>,E<lt>destdirE<gt>
Export all objects within a protocol into directory B<destdir>. The available