From 585d17ae7f03d76713cf8ab2959260d19dabc619 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Sun, 11 Jun 2017 12:03:13 -0400 Subject: Add support for color xml attributes in psml and pdml formats. Bug: 6682 Change-Id: I19330d06aa3d5692503c61369c3c650d595971f5 Reviewed-on: https://code.wireshark.org/review/22077 Petri-Dish: Michael Mann Tested-by: Petri Dish Buildbot Reviewed-by: Stephen Donnelly Reviewed-by: Anders Broman --- doc/README.xml-output | 2 ++ doc/tshark.pod | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/README.xml-output b/doc/README.xml-output index 31fd6e2006..b3011ae24c 100644 --- a/doc/README.xml-output +++ b/doc/README.xml-output @@ -143,6 +143,8 @@ In PDML, the "Data" protocol would become another field under HTTP: +Note that packet tag may have nonstandard color attributes, "foreground" and "background" + tools/WiresharkXML.py ==================== This is a python module which provides some infrastructure for diff --git a/doc/tshark.pod b/doc/tshark.pod index 512ff1c906..208d6cc44e 100644 --- a/doc/tshark.pod +++ b/doc/tshark.pod @@ -792,6 +792,8 @@ Example of usage: B Packet Details Markup Language, an XML-based format for the details of a decoded packet. This information is equivalent to the packet details printed with the B<-V> flag. +Using the --color option will add color attributes to B output. These +attributes are nonstandard. B PostScript for a human-readable one-line summary of each of the packets, or a multi-line view of the details of each of the packets, depending on @@ -800,6 +802,8 @@ whether the B<-V> flag was specified. B Packet Summary Markup Language, an XML-based format for the summary information of a decoded packet. This information is equivalent to the information shown in the one-line summary printed by default. +Using the --color option will add color attributes to B output. These +attributes are nonstandard. B Similar to the default B report except the human-readable one-line summary of each packet will include an ASCII horizontal tab (0x09) character -- cgit v1.2.1