diff --git a/solr/core/src/java/org/apache/solr/cli/SolrCLI.java b/solr/core/src/java/org/apache/solr/cli/SolrCLI.java index 005c8ef061c..cc79e05ec6b 100755 --- a/solr/core/src/java/org/apache/solr/cli/SolrCLI.java +++ b/solr/core/src/java/org/apache/solr/cli/SolrCLI.java @@ -260,6 +260,10 @@ public static CommandLine parseCmdLine(Tool tool, String[] args) { } else { toolArgList.add(arg); } + + if(arg.equals("-r")) { + toolArgList.add("true"); + } } String[] toolArgs = toolArgList.toArray(new String[0]);