summaryrefslogtreecommitdiff
path: root/tshark.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2012-12-12 02:07:08 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2012-12-12 02:07:08 +0000
commit05ee001d7339524483a806c05dae997485e7d86d (patch)
tree77f6973ebabb10cdfc3a1d45dd7b845c2de2c5d6 /tshark.c
parent7033cc72201356cff24410e2f7c04f1c6c3c8b3a (diff)
downloadwireshark-05ee001d7339524483a806c05dae997485e7d86d.tar.gz
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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tshark.c b/tshark.c
index 84f2f14f1c..bc4f02612b 100644
--- a/tshark.c
+++ b/tshark.c
@@ -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