File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -145,9 +145,9 @@ static int ActOnMatchingPlugins(
145145// Return a string in glob syntax for matching plugins.
146146static std::string GetPluginNamePatternString (llvm::StringRef user_input,
147147 bool add_default_glob) {
148- std::string pattern_str = user_input.empty () ? " *" : user_input;
148+ std::string pattern_str = user_input.empty () ? " *" : user_input. str () ;
149149
150- if (add_default_glob && pattern_str != " *" )
150+ if (add_default_glob && pattern_str != " *" )
151151 pattern_str = " *" + pattern_str + " *" ;
152152
153153 return pattern_str;
@@ -232,9 +232,9 @@ The plugin information is formatted as shown below
232232
233233An enabled plugin is marked with [+] and a disabled plugin is marked with [-].
234234
235- Selecting plugins
236- ------------------
237- plugin list [<plugin-namespace>.][<plugin-name>]
235+ Plugins can be listed by namespace and name with:
236+
237+ plugin list [<plugin-namespace>.][<plugin-name>]
238238
239239Plugin names are specified using glob patterns. The pattern will be matched
240240against the plugins fully qualified name, which is composed of the namespace,
@@ -356,7 +356,7 @@ class CommandObjectPluginDisable : public CommandObjectParsed {
356356
357357 int num_matching = SetEnableOnMatchingPlugins (*plugin_glob, result, false );
358358
359- if (num_matching == 0 )
359+ if (num_matching == 0 )
360360 result.AppendErrorWithFormat (" Found no matching plugins to disable" );
361361 }
362362
You can’t perform that action at this time.
0 commit comments