Prints the help about a plugin.

@param pr
The plugin repository
@param pluginName
The plugin name
356962
private static void printHelp(final IPluginRepository pr, final String pluginName) {
        try {
            PluginProxy pp = (PluginProxy) pr.getPlugin(pluginName);

            // CPluginProxy pp =
            // CPluginFactory.getInstance().getPlugin(sPluginName);
            if (pp == null) {
                System.out.println("Plugin " + pluginName + " does not exists.");
            } else {
                pp.printHelp();
            }
        } catch (Exception e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
        System.exit(0);
    }
999426
protected void parseProcessEnginePlugins(Element element, List<ProcessEnginePluginXml> plugins) {
    for (Element chidElement : element.elements()) {
      if(PLUGIN.equals(chidElement.getTagName())) {
        parseProcessEnginePlugin(chidElement, plugins);
      }
    }
  }
465226
public function printInfo(): void
    {
        if (!$this->enabled) {
            $this->io->write('<info>Rikudou installer disabled in config</info>');
        } else {
            $this->io->write('<info>Rikudou installer enabled</info>');
        }
    }
817659
public function disablePlugin($pluginName)
	{
		if (isset($this->pluginsConfig[$pluginName]))
		{
			// Copy the plugin's config to remove the reference
			$pluginConfig = $this->pluginsConfig[$pluginName];
			unset($this->pluginsConfig[$pluginName]);

			// Update the value and replace the plugin's config
			$pluginConfig['isDisabled'] = true;
			$this->pluginsConfig[$pluginName] = $pluginConfig;
		}
	}
791473
public void printHelp(final PrintWriter out) {
        HelpFormatter hf = new HelpFormatter();
        StringBuilder sbDivider = new StringBuilder("=");
        while (sbDivider.length() < hf.getPageWidth()) {
            sbDivider.append('=');
        }
        out.println(sbDivider.toString());
        out.println("PLUGIN NAME : " + proxyedPluginDefinition.getName());
        if (description != null && description.trim().length() != 0) {
            out.println(sbDivider.toString());
            out.println("Description : ");
            out.println();
            out.println(description);
        }

        hf.setGroup(mainOptionsGroup);
        // hf.setHeader(m_pluginDef.getName());
        hf.setDivider(sbDivider.toString());
        hf.setPrintWriter(out);
        hf.print();
        // hf.printHelp(m_pluginDef.getName(), m_Options);
    }
1059482
function printHelp(argv) {
    if (argv.help || argv.h) {
        showHelpInfo();
        process.exit(0);
    }

    // soi --version
    if (argv.version || argv.v) {
        console.log(`soi version: ${pkgInfo.version}`);
        process.exit(0);
    }
}
1113849
@RequirePOST
    @Restricted(NoExternalUse.class)
    public HttpResponse doConfirmRename(@QueryParameter String newName) throws IOException {
        newName = newName == null ? null : newName.trim();
        FormValidation validationError = doCheckNewName(newName);
        if (validationError.kind != FormValidation.Kind.OK) {
            throw new Failure(validationError.getMessage());
        }

        renameTo(newName);
        // send to the new job page
        // note we can't use getUrl() because that would pick up old name in the
        // Ancestor.getUrl()
        return HttpResponses.redirectTo("../" + newName);
    }
300605
public void printHtmlLogo(PrintWriter out, ResourceBundle reg)
        throws DBException
    {
        String strXml = this.getProperty("xml");                // Html page
        if ((strXml != null) && (strXml.length() > 0))
            ((BaseParserScreen)this.getScreenField()).setURL(((BaseParserScreen)this.getScreenField()).addURLParam(Constants.BLANK, "xml", strXml));
        super.printHtmlLogo(out, reg);
    }
440654
function addPlugin(config, pluginName, version) {
    // For default plugin, we only ensure it is enabled
    if (isDefaultPlugin(pluginName, version)) {
        return togglePlugin(config, pluginName, true);
    }

    var deps = config.getPluginDependencies();
    var dep = PluginDependency.create(pluginName, version);

    deps = deps.push(dep);
    return config.setPluginDependencies(deps);
}
363014
void pluginMessage(Throwable ex) {
        log.printLines(PrefixKind.JAVAC, "msg.plugin.uncaught.exception");
        ex.printStackTrace(log.getWriter(WriterKind.NOTICE));
    }
483427
def print_help(self, prog_name, subcommand):
        
        parser = self.get_parser(prog_name, subcommand)
        parser.print_help()
1028236
public static void printHelp(String message) {
    System.err.println(message);
    System.out.println(USAGE);
  }
556093
def get_plugin_info(self, plugin_name):
        """"""
        if plugin_name:
            for i in self.get_all_plugins:
                if i["plugin_name"] == plugin_name:
                    return i
1021051
private void printPlugins() {
        final List<String> installedPlugins = Plugins.getInstalledPlugins();
        for (final String plugin : installedPlugins) {
            System.out.println(plugin);
        }
    }
455533
def plugin_name(plugin)
     tuple = elements.find { |(_, p)| p.equal?(plugin) }
     tuple[0] if tuple
    end
597666
public function enablePlugin($pluginName)
	{
		if (isset($this->pluginsConfig[$pluginName]))
		{
			$this->pluginsConfig[$pluginName]['isDisabled'] = false;
		}
	}
552857
public static void printHelp(String message) {
    System.err.println(message);
    HelpFormatter help = new HelpFormatter();
    help.printHelp(USAGE, OPTIONS);
  }