comparison host/vamp-simple-host.cpp @ 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 4101e3f80aa0
comparison
equal deleted inserted replaced
358:34ff6b72b0f4 361:629faeec0229
112 " with time in seconds.\n\n" 112 " with time in seconds.\n\n"
113 " " << name << " -l\n" 113 " " << name << " -l\n"
114 " " << name << " --list\n\n" 114 " " << name << " --list\n\n"
115 " -- List the plugin libraries and Vamp plugins in the library search path\n" 115 " -- List the plugin libraries and Vamp plugins in the library search path\n"
116 " in a verbose human-readable format.\n\n" 116 " in a verbose human-readable format.\n\n"
117 " " << name << " -L\n"
117 " " << name << " --list-full\n\n" 118 " " << name << " --list-full\n\n"
118 " -- List all data reported by all the Vamp plugins in the library search\n" 119 " -- List all data reported by all the Vamp plugins in the library search\n"
119 " path in a very verbose human-readable format.\n\n" 120 " path in a very verbose human-readable format.\n\n"
120 " " << name << " --list-ids\n\n" 121 " " << name << " --list-ids\n\n"
121 " -- List the plugins in the search path in a terse machine-readable format,\n" 122 " -- List the plugins in the search path in a terse machine-readable format,\n"
159 160
160 printPluginPath(true); 161 printPluginPath(true);
161 enumeratePlugins(PluginInformation); 162 enumeratePlugins(PluginInformation);
162 return 0; 163 return 0;
163 164
164 } else if (!strcmp(argv[1], "--list-full")) { 165 } else if (!strcmp(argv[1], "-L") || !strcmp(argv[1], "--list-full")) {
165 166
166 enumeratePlugins(PluginInformationDetailed); 167 enumeratePlugins(PluginInformationDetailed);
167 return 0; 168 return 0;
168 169
169 } else if (!strcmp(argv[1], "-p")) { 170 } else if (!strcmp(argv[1], "-p")) {