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

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@490513 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Naber 2006-12-27 15:22:22 +00:00
parent c4193343bf
commit 67399fdd8d
1 changed files with 1 additions and 1 deletions

View File

@ -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);