epugh commented on a change in pull request #74: URL: https://github.com/apache/solr/pull/74#discussion_r697560086
########## File path: solr/core/src/java/org/apache/solr/util/SolrCLI.java ########## @@ -411,24 +428,15 @@ else if ("package".equals(toolType)) } private static void displayToolOptions() throws Exception { - HelpFormatter formatter = new HelpFormatter(); - formatter.printHelp("healthcheck", getToolOptions(new HealthcheckTool())); - formatter.printHelp("status", getToolOptions(new StatusTool())); - formatter.printHelp("api", getToolOptions(new ApiTool())); - formatter.printHelp("create_collection", getToolOptions(new CreateCollectionTool())); - formatter.printHelp("create_core", getToolOptions(new CreateCoreTool())); - formatter.printHelp("create", getToolOptions(new CreateTool())); - formatter.printHelp("delete", getToolOptions(new DeleteTool())); - formatter.printHelp("config", getToolOptions(new ConfigTool())); - formatter.printHelp("run_example", getToolOptions(new RunExampleTool())); - formatter.printHelp("upconfig", getToolOptions(new ConfigSetUploadTool())); - formatter.printHelp("downconfig", getToolOptions(new ConfigSetDownloadTool())); - formatter.printHelp("rm", getToolOptions(new ZkRmTool())); - formatter.printHelp("cp", getToolOptions(new ZkCpTool())); - formatter.printHelp("mv", getToolOptions(new ZkMvTool())); - formatter.printHelp("ls", getToolOptions(new ZkLsTool())); - formatter.printHelp("export", getToolOptions(new ExportTool())); - formatter.printHelp("package", getToolOptions(new PackageTool())); + final HelpFormatter formatter = new HelpFormatter(); Review comment: Should this be moved to a separate PR? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org