summaryrefslogtreecommitdiff
path: root/tshark.c
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2013-08-01 21:04:28 +0000
committerMartin Kaiser <wireshark@kaiser.cx>2013-08-01 21:04:28 +0000
commit5863aaa51b3d5a49ce95654362932dda767999bf (patch)
tree8f42403a24b0f230b5e50c1756513163fb330660 /tshark.c
parent08eb36b5af5da365087ea19194a0a00bd1310ce2 (diff)
downloadwireshark-5863aaa51b3d5a49ce95654362932dda767999bf.tar.gz
add --capture-comment to tshark's print_usage() function
make it clear that a capture comment can only be added when we create a new file svn path=/trunk/; revision=51091
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tshark.c b/tshark.c
index 65748006eb..a302687e1b 100644
--- a/tshark.c
+++ b/tshark.c
@@ -337,6 +337,9 @@ print_usage(gboolean print_ver)
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");
+ fprintf(output, " --capture-comment <comment>\n");
+ fprintf(output, " add a capture comment to the newly created\n");
+ fprintf(output, " output file (only for pcapng)\n");
fprintf(output, "\n");
fprintf(output, "Miscellaneous:\n");