aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorsake <sake@f5534014-38df-0310-8fa8-9805f1628bb7>2010-07-14 21:53:57 +0000
committersake <sake@f5534014-38df-0310-8fa8-9805f1628bb7>2010-07-14 21:53:57 +0000
commit7d251bf0290cb07f53b5b7860b3a03a9b15365f6 (patch)
treed74abeab2cf8d7642d12b4985045c58eecd0a7b2 /tshark.c
parentf241e7d9bf36998b5aeb06276e1d123d92432b40 (diff)
Add an option to print the first, the last or all occurrences of each field
(when using tshark -T fields) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33529 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tshark.c b/tshark.c
index 9de1469e81..68a4b3f135 100644
--- a/tshark.c
+++ b/tshark.c
@@ -280,6 +280,7 @@ print_usage(gboolean print_ver)
fprintf(output, " -E<fieldsoption>=<value> set options for output when -Tfields selected:\n");
fprintf(output, " header=y|n switch headers on and off\n");
fprintf(output, " separator=/t|/s|<char> select tab, space, printable character as separator\n");
+ fprintf(output, " occurrence=f|l|a print first, last or all occurrences of each field\n");
fprintf(output, " aggregator=,|/s|<char> select comma, space, printable character as aggregator\n");
fprintf(output, " quote=d|s|n select double, single, no quotes for values\n");
fprintf(output, " -t ad|a|r|d|dd|e output format of time stamps (def: r: rel. to first)\n");