Skip to content

Apache Lucene open-source search software

ingore case in the names of commands (Search == search etc.)

Daniel Naber67399fdd8d0e
diff --git a/contrib/lucli/src/java/lucli/Lucli.java b/contrib/lucli/src/java/lucli/Lucli.java
index f1bff015f2c..0d88b0d1a49 100644
--- a/contrib/lucli/src/java/lucli/Lucli.java
+++ b/contrib/lucli/src/java/lucli/Lucli.java
@@ -283,7 +283,7 @@ public class Lucli {
}
private int getCommandId(String name, int params) {
- name.toLowerCase(); //treat uppercase and lower case commands the same
+ name = name.toLowerCase(); //treat uppercase and lower case commands the same
Command command = (Command) commandMap.get(name);
if (command == null) {
return(UNKOWN);