changeset 361:629faeec0229

Add -L short option as synonym for --list-full
author Chris Cannam
date Wed, 05 Mar 2014 09:29:19 +0000
parents 34ff6b72b0f4
children 763370655eec
files host/vamp-simple-host.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/host/vamp-simple-host.cpp	Fri Sep 13 14:58:41 2013 +0100
+++ b/host/vamp-simple-host.cpp	Wed Mar 05 09:29:19 2014 +0000
@@ -114,6 +114,7 @@
         "  " << name << " --list\n\n"
         "    -- List the plugin libraries and Vamp plugins in the library search path\n"
         "       in a verbose human-readable format.\n\n"
+        "  " << name << " -L\n"
         "  " << name << " --list-full\n\n"
         "    -- List all data reported by all the Vamp plugins in the library search\n"
         "       path in a very verbose human-readable format.\n\n"
@@ -161,7 +162,7 @@
             enumeratePlugins(PluginInformation);
             return 0;
 
-        } else if (!strcmp(argv[1], "--list-full")) {
+        } else if (!strcmp(argv[1], "-L") || !strcmp(argv[1], "--list-full")) {
 
             enumeratePlugins(PluginInformationDetailed);
             return 0;