summaryrefslogtreecommitdiff
path: root/doc/text2pcap.pod
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2014-06-20 14:48:27 -0400
committerGuy Harris <guy@alum.mit.edu>2014-06-21 01:05:02 +0000
commit3773a7561c79e3545fca664c2a25cf2312de0ada (patch)
tree083e9fda037f4811ebe3cf7aa9564ee57df33c9b /doc/text2pcap.pod
parentc11ae8ac827afa50ef226ebaef134f54ac0e532b (diff)
downloadwireshark-3773a7561c79e3545fca664c2a25cf2312de0ada.tar.gz
Add command-line argument to request the version to a number of the utilities.
In some cases "-v" was already used so "-V" is the option. Note that the version information in these utilities is much shorter than what is presented by the big programs. As requested by https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5804 Bug: 5804 Change-Id: I35db35a4eace2797afd895f9be7322ef39928480 Reviewed-on: https://code.wireshark.org/review/2489 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'doc/text2pcap.pod')
-rw-r--r--doc/text2pcap.pod7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/text2pcap.pod b/doc/text2pcap.pod
index 30981131ee..62f09ebe76 100644
--- a/doc/text2pcap.pod
+++ b/doc/text2pcap.pod
@@ -22,6 +22,7 @@ S<[ B<-S> E<lt>srcportE<gt>,E<lt>destportE<gt>,E<lt>ppiE<gt> ]>
S<[ B<-t> E<lt>timefmtE<gt> ]>
S<[ B<-T> E<lt>srcportE<gt>,E<lt>destportE<gt> ]>
S<[ B<-u> E<lt>srcportE<gt>,E<lt>destportE<gt> ]>
+S<[ B<-v> ]>
E<lt>I<infile>E<gt>|-
E<lt>I<outfile>E<gt>|-
@@ -218,6 +219,10 @@ IP or Ethernet headers. Note that appropriate Ethernet and IP headers
are automatically also included with each packet.
Example: I<-u1000,69> to make the packets look like TFTP/UDP packets.
+=item -v
+
+Print the version and exit.
+
=item -4 E<lt>srcipE<gt>,E<lt>destipE<gt>
Prepend dummy IP header with specified IPv4 dest and source address.
@@ -230,7 +235,7 @@ Example: I<-4 10.0.0.1,10.0.0.2> to use 10.0.0.1 and 10.0.0.2 for all IP packets
Prepend dummy IP header with specified IPv6 dest and source address.
This option should be accompanied by one of the following options: -i, -s, -S, -T, -u
Use this option to apply "custom" IP addresses.
-Example: I<-6 fe80:0:0:0:202:b3ff:fe1e:8329, 2001:0db8:85a3:0000:0000:8a2e:0370:7334> to
+Example: I<-6 fe80:0:0:0:202:b3ff:fe1e:8329, 2001:0db8:85a3:0000:0000:8a2e:0370:7334> to
use fe80:0:0:0:202:b3ff:fe1e:8329 and 2001:0db8:85a3:0000:0000:8a2e:0370:7334 for all IP packets.
=back