summaryrefslogtreecommitdiff
path: root/tshark.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2009-07-08 19:19:06 +0000
committerGuy Harris <guy@alum.mit.edu>2009-07-08 19:19:06 +0000
commita3fda980563cf11c0780a708caead4e46ae0ed19 (patch)
tree053b7c180d9ff844e0e51bbb1022d4b1093d264c /tshark.c
parent6c25896d84ad6f087c8bd4c3a380f9add726a412 (diff)
downloadwireshark-a3fda980563cf11c0780a708caead4e46ae0ed19.tar.gz
Clarify that "-w" specifies a *pcap-format* file to be written to.
svn path=/trunk/; revision=29029
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tshark.c b/tshark.c
index 1dd65fb121..52aa40f054 100644
--- a/tshark.c
+++ b/tshark.c
@@ -284,7 +284,8 @@ print_usage(gboolean print_ver)
/*fprintf(output, "\n");*/
fprintf(output, "Output:\n");
- fprintf(output, " -w <outfile|-> set the output filename (or '-' for stdout)\n");
+ fprintf(output, " -w <outfile|-> write packets to a pcap-format file named \"outfile\"\n");
+ fprintf(output, " (or to the standard output for \"-\")\n");
fprintf(output, " -C <config profile> start with specified configuration profile\n");
fprintf(output, " -F <output file type> set the output file type, default is libpcap\n");
fprintf(output, " an empty \"-F\" option will list the file types\n");