"bug" #1013: from Stephen Fisher
add the X --display command line parameter to the documentation svn path=/trunk/; revision=18889
This commit is contained in:
parent
8529abb69b
commit
3342dab895
|
@ -11,6 +11,7 @@ S<[ B<-b> E<lt>capture ring buffer optionE<gt> ] ...>
|
|||
S<[ B<-B> E<lt>capture buffer size (Win32 only)E<gt> ] >
|
||||
S<[ B<-c> E<lt>capture packet countE<gt> ]>
|
||||
S<[ B<-D> ]>
|
||||
S<[ B<--display=>E<lt>X display to useE<gt> ] >
|
||||
S<[ B<-f> E<lt>capture filterE<gt> ]>
|
||||
S<[ B<-g> E<lt>packet numberE<gt> ]>
|
||||
S<[ B<-h> ]>
|
||||
|
@ -245,6 +246,12 @@ network capture must be run from an account with special privileges (for
|
|||
example, as root), then, if B<Wireshark> is run with the B<-D> flag and
|
||||
is not run from such an account, it will not list any interfaces.
|
||||
|
||||
=item --display=E<lt>X display to useE<gt>
|
||||
|
||||
Specifies the X display to use. A hostname and screen (otherhost:0.0)
|
||||
or just a screen (:0.0) can be specified. This option is not available
|
||||
under Windows.
|
||||
|
||||
=item -f E<lt>capture filterE<gt>
|
||||
|
||||
Set the capture filter expression.
|
||||
|
|
|
@ -1234,6 +1234,9 @@ print_usage(gboolean print_ver) {
|
|||
fprintf(output, " -h display this help and exit\n");
|
||||
fprintf(output, " -v display version info and exit\n");
|
||||
fprintf(output, " -o <name>:<value> ... override preference or recent setting\n");
|
||||
#ifndef _WIN32
|
||||
fprintf(output, " --display=DISPLAY X display to use\n");
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
destroy_console();
|
||||
|
|
Loading…
Reference in New Issue