aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJim Young <jyoung@gsu.edu>2017-03-19 21:07:53 -0500
committerAnders Broman <a.broman58@gmail.com>2017-03-23 11:53:28 +0000
commit81ad4cd3bdc1b729de2b43ccf9d5435bac17f3d5 (patch)
tree1135fd39ae7c29dfed35e51dd7ac376e66af168a /doc
parent9e35c0bc8b667b79d36c1ce9d16da3228cf5f3c8 (diff)
capinfos: Add -K option and report capture comments last
This patch adds a capinfos -K option to suppess printing of capture comments. This patch also changes when capture comments are printed relative to the other enabled infos. Because capture comments are freeform we will now defer their printing until all but the interface detail infos are printed. Change-Id: Ibb3df040c09e4c67d714c561869c00e08b83d6ed Reviewed-on: https://code.wireshark.org/review/20643 Petri-Dish: Jim Young <jim.young.ws@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/capinfos.pod10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/capinfos.pod b/doc/capinfos.pod
index 43b696ad69..335cdb2a2a 100644
--- a/doc/capinfos.pod
+++ b/doc/capinfos.pod
@@ -20,6 +20,8 @@ S<[ B<-h> ]>
S<[ B<-H> ]>
S<[ B<-i> ]>
S<[ B<-I> ]>
+S<[ B<-k> ]>
+S<[ B<-K> ]>
S<[ B<-l> ]>
S<[ B<-L> ]>
S<[ B<-m> ]>
@@ -175,6 +177,14 @@ is not available in table format.
Displays the capture comment. For pcapng files, this is the comment from the
section header block.
+=item -K
+
+Use this option to suppress printing capture comments. By default capture
+comments are enabled. Capture comments are relatively freeform and might
+contain embedded new-line characters and/or other delimiting characters
+making it harder for a human or machine to easily parse the capinfos output.
+Excluding capture comments can aid in post-processing of output.
+
=item -l
Display the snaplen (if any) for a file.