summaryrefslogtreecommitdiff
path: root/tshark.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2011-06-01 21:48:17 +0000
committerGerald Combs <gerald@wireshark.org>2011-06-01 21:48:17 +0000
commit0272ec5dd3fcaef37fafedb23d14d1d89db712b6 (patch)
treec4da1f0931d1db98bb5739a82e5942139a36cd1d /tshark.c
parenta02b8fb24786bee85e2cca4b82489aa332f0150d (diff)
downloadwireshark-0272ec5dd3fcaef37fafedb23d14d1d89db712b6.tar.gz
Show the plugin paths in Help→About→Plugins. Add a "-G plugins" option
to TShark which dumps a list of plugins. svn path=/trunk/; revision=37512
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 76df7f16f8..bcf1e726e6 100644
--- a/tshark.c
+++ b/tshark.c
@@ -987,6 +987,8 @@ main(int argc, char *argv[])
dissector_dump_decodes();
else if (strcmp(argv[2], "defaultprefs") == 0)
write_prefs(NULL);
+ else if (strcmp(argv[2], "plugins") == 0)
+ plugins_dump_all();
else if (strcmp(argv[2], "?") == 0)
glossary_option_help();
else if (strcmp(argv[2], "-?") == 0)