MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / checkForPluginOption

Method checkForPluginOption

lib/extensionsystem/optionsparser.cpp:201–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201bool OptionsParser::checkForPluginOption()
202{
203 bool requiresParameter;
204 PluginSpec *spec = m_pmPrivate->pluginForOption(m_currentArg, &requiresParameter);
205 if (!spec)
206 return false;
207 spec->addArgument(m_currentArg);
208 if (requiresParameter && nextToken(RequiredToken))
209 spec->addArgument(m_currentArg);
210 return true;
211}
212
213bool OptionsParser::checkForUnknownOption()
214{

Callers

nothing calls this directly

Calls 2

pluginForOptionMethod · 0.80
addArgumentMethod · 0.80

Tested by

no test coverage detected