aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2018-04-19 12:33:22 +0200
committerDario Lombardo <lomato@gmail.com>2018-04-19 14:53:48 +0000
commitca45f88e3b6f79fa95a62d748fe155e3ea6db271 (patch)
treea60c13e642930f1dd4b5880720f9fee2b25c1d59 /tshark.c
parentda7f5cdcecf28ef2199ab6523edefbb9f05c84c2 (diff)
tshark: put -G elastic-mapping in help under ifdef.
Change-Id: I75cfc26844ae72f4b608f0714945b1affdac64f2 Reviewed-on: https://code.wireshark.org/review/27033 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Dario Lombardo <lomato@gmail.com>
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tshark.c b/tshark.c
index c617642def..fb8c6ede12 100644
--- a/tshark.c
+++ b/tshark.c
@@ -476,7 +476,9 @@ glossary_option_help(void)
fprintf(output, " -G column-formats dump column format codes and exit\n");
fprintf(output, " -G decodes dump \"layer type\"/\"decode as\" associations and exit\n");
fprintf(output, " -G dissector-tables dump dissector table names, types, and properties\n");
+#ifdef HAVE_JSONGLIB
fprintf(output, " -G elastic-mapping dump ElasticSearch mapping file\n");
+#endif
fprintf(output, " -G fieldcount dump count of header fields and exit\n");
fprintf(output, " -G fields dump fields glossary and exit\n");
fprintf(output, " -G ftypes dump field type basic and descriptive names\n");