diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-12-13 03:17:49 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-12-13 03:17:49 +0000 |
commit | 37bb6e88fde76a86659878143798a8b8ce78f9da (patch) | |
tree | aade96be354eb5993ac2a1ea1ec7ba4989616308 /tshark.c | |
parent | 199da73e21525ff6fd8eb2b177e35b5396e6275c (diff) |
Add the -H and -W options to the "tshark -h" output. Ref: http://www.wireshark.org/lists/wireshark-users/201112/msg00044.html
svn path=/trunk/; revision=40172
Diffstat (limited to 'tshark.c')
-rw-r--r-- | tshark.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -284,6 +284,8 @@ print_usage(gboolean print_ver) fprintf(output, " -d %s ...\n", decode_as_arg_template); fprintf(output, " \"Decode As\", see the man page for details\n"); fprintf(output, " Example: tcp.port==8888,http\n"); + fprintf(output, " -H <hosts file> read a list of entries from a hosts file, which will\n"); + fprintf(output, " then be written to a capture file. (Implies -W n)\n"); /*fprintf(output, "\n");*/ fprintf(output, "Output:\n"); @@ -313,6 +315,8 @@ 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, " -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"); fprintf(output, " -z <statistics> various statistics, see the man page for details\n"); |