[DEBUG] correct option parsing
This commit is contained in:
parent
08bf01ae27
commit
1be1359bb6
@ -100,7 +100,10 @@ public class Arguments {
|
||||
String[] optionList = argument.split("=");
|
||||
Log.verbose("ListArgument = " + optionList);
|
||||
String option = optionList[0];
|
||||
String optionParam = argument.substring(option.length()+1);
|
||||
String optionParam = "";
|
||||
if (argument.length() > option.length()+1) {
|
||||
optionParam = argument.substring(option.length()+1);
|
||||
}
|
||||
Log.verbose(" option= " + option);
|
||||
Log.verbose(" optionParam= " + optionParam);
|
||||
boolean argumentFound=false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user