forked from osmocom/wireshark
Indicate tshark can read (-r) from stdin and named pipes now.
(Though it works only with certain formats.) As requested in: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2874#c4 Change-Id: I2ce0509d8750b21ae0167d12459074ba0f9506f8 Reviewed-on: https://code.wireshark.org/review/2646 Reviewed-by: Evan Huus <eapache@gmail.com>
This commit is contained in:
parent
a8652ea529
commit
e0461ecd43
|
@ -633,8 +633,9 @@ count and the end of a capture are not sent to stderr.
|
|||
=item -r E<lt>infileE<gt>
|
||||
|
||||
Read packet data from I<infile>, can be any supported capture file format
|
||||
(including gzipped files). It's B<not> possible to use named pipes
|
||||
or stdin here!
|
||||
(including gzipped files). It is possible to use named pipes or stdin (-)
|
||||
here but only with certain (not compressed) capture file formats (in
|
||||
particular: those that can be read without seeking backwards).
|
||||
|
||||
=item -R E<lt>Read filterE<gt>
|
||||
|
||||
|
|
2
tshark.c
2
tshark.c
|
@ -332,7 +332,7 @@ print_usage(gboolean print_ver)
|
|||
#endif
|
||||
/*fprintf(output, "\n");*/
|
||||
fprintf(output, "Input file:\n");
|
||||
fprintf(output, " -r <infile> set the filename to read from (no stdin!)\n");
|
||||
fprintf(output, " -r <infile> set the filename to read from (- to read from stdin)\n");
|
||||
|
||||
fprintf(output, "\n");
|
||||
fprintf(output, "Processing:\n");
|
||||
|
|
Loading…
Reference in New Issue