diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2012-12-12 02:07:08 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2012-12-12 02:07:08 +0000 |
commit | 05ee001d7339524483a806c05dae997485e7d86d (patch) | |
tree | 77f6973ebabb10cdfc3a1d45dd7b845c2de2c5d6 /tshark.c | |
parent | 7033cc72201356cff24410e2f7c04f1c6c3c8b3a (diff) | |
download | wireshark-05ee001d7339524483a806c05dae997485e7d86d.tar.gz wireshark-05ee001d7339524483a806c05dae997485e7d86d.tar.bz2 wireshark-05ee001d7339524483a806c05dae997485e7d86d.zip |
Document the "-g" option to dumpcap.
Add that option to tshark, too, and document it.
The option can't be given to Wireshark because the GUI already has a "-g"
(goto packet).
svn path=/trunk/; revision=46513
Diffstat (limited to 'tshark.c')
-rw-r--r-- | tshark.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -320,6 +320,7 @@ print_usage(gboolean print_ver) fprintf(output, " -u s|hms output format of seconds (def: s: seconds)\n"); fprintf(output, " -l flush standard output after each packet\n"); fprintf(output, " -q be more quiet on stdout (e.g. when using statistics)\n"); + fprintf(output, " -g enable group read access on the output file(s)\n"); fprintf(output, " -W n Save extra information in the file, if supported.\n"); fprintf(output, " n = write network address resolution information\n"); fprintf(output, " -X <key>:<value> eXtension options, see the man page for details\n"); @@ -1185,6 +1186,7 @@ main(int argc, char *argv[]) case 'b': /* Ringbuffer option */ case 'c': /* Capture x packets */ case 'f': /* capture filter */ + case 'g': /* enable group read accesson file(s) */ case 'i': /* Use interface x */ case 'p': /* Don't capture in promiscuous mode */ #ifdef HAVE_PCAP_REMOTE |