aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorSake Blok <sake@euronet.nl>2010-07-14 21:53:57 +0000
committerSake Blok <sake@euronet.nl>2010-07-14 21:53:57 +0000
commite10147fb73f29185353af69bf969fbfe7634198c (patch)
treed74abeab2cf8d7642d12b4985045c58eecd0a7b2 /tshark.c
parent83a027afb86e09fe8526fe5d5b3042ce89b5cbc8 (diff)
Add an option to print the first, the last or all occurrences of each field
(when using tshark -T fields) svn path=/trunk/; revision=33529
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");