Skip to content

Commit

Permalink
Resolve recursive option (-r) failure (eg: in 'zk cp -r' and 'zk rm -r')
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulgoswami committed Aug 8, 2024
1 parent db230bc commit 4c477d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions solr/core/src/java/org/apache/solr/cli/SolrCLI.java
Original file line number Diff line number Diff line change
Expand Up @@ -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]);

Expand Down

0 comments on commit 4c477d8

Please sign in to comment.