Unit/Amount
This commit is contained in:
parent
6ce0f76483
commit
26f6e4b7c7
@ -31,9 +31,9 @@ public class Start
|
||||
// System.out.println("Found double dash with command " + argstring.substring(2, len) );
|
||||
String argName = argstring.substring(2, len);
|
||||
doubleOptsList.add(argName);
|
||||
if(argName.equalsIgnoreCase("amount"))
|
||||
if(argName.equalsIgnoreCase("shoppingAmount"))
|
||||
amount = Float.parseFloat(args[i+1].replace("\"", ""));
|
||||
else if(argName.equalsIgnoreCase("unitName"))
|
||||
else if(argName.equalsIgnoreCase("shoppingUnit"))
|
||||
unitName = args[i+1].replace("\"", "");
|
||||
else if(argName.equalsIgnoreCase("shoppingProduct"))
|
||||
productName = args[i+1].replace("\"", "");
|
||||
|
Loading…
Reference in New Issue
Block a user