summaryrefslogtreecommitdiff
path: root/doc/tethereal.pod.template
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-03-27 06:16:11 +0000
committerGuy Harris <guy@alum.mit.edu>2001-03-27 06:16:11 +0000
commit40ba2e9e613677603432ce9b3736ef13f6dabe0f (patch)
treeae4a2620314563c50160e3b5e40d5a749a6ed56e /doc/tethereal.pod.template
parent7d274106ec3d7e5f58090ee00d7af873174f7c27 (diff)
downloadwireshark-40ba2e9e613677603432ce9b3736ef13f6dabe0f.tar.gz
Give Tethereal a "-D" flag, inspired by WinPcap's "-D" flag, which
prints a list of all network interfaces it found on which it can capture (the same list as the one that shows up in the "Interface" combo box in Ethereal's "Capture Preferences" dialog). svn path=/trunk/; revision=3194
Diffstat (limited to 'doc/tethereal.pod.template')
-rw-r--r--doc/tethereal.pod.template10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/tethereal.pod.template b/doc/tethereal.pod.template
index 95b713d0f2..001277130b 100644
--- a/doc/tethereal.pod.template
+++ b/doc/tethereal.pod.template
@@ -7,6 +7,7 @@ Tethereal - Dump and analyze network traffic
B<tethereal>
S<[ B<-c> count ]>
+S<[ B<-D> ]>
S<[ B<-f> capture filter expression ]>
S<[ B<-F> file format ]>
S<[ B<-h> ]>
@@ -108,6 +109,15 @@ B<-r> flag was specified).
Sets the default number of packets to read when capturing live
data.
+=item -D
+
+Prints a list of the interfaces on which B<Tethereal> can capture, and
+exits. Note that "can capture" means that B<Tethereal> was able to open
+that device to do a live capture; if, on your system, a program doing a
+network capture must be run from an account with special privileges (for
+example, as root), then, if B<Tethereal> is run with the B<-D> flag and
+is not run from such an account, it will not list any interfaces.
+
=item -f
Sets the capture filter expression.