fixed error: -e arg should be checked

This commit is contained in:
nvt-se 2009-08-13 12:15:35 +00:00
parent 9ab5859421
commit f78c9d6a20

View file

@ -28,7 +28,7 @@
* *
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
* *
* $Id: CoffeeManager.java,v 1.5 2009/08/13 12:11:20 nvt-se Exp $ * $Id: CoffeeManager.java,v 1.6 2009/08/13 12:15:35 nvt-se Exp $
* *
* @author Nicolas Tsiftes * @author Nicolas Tsiftes
* *
@ -86,7 +86,7 @@ public class CoffeeManager {
command = Command.REMOVE; command = Command.REMOVE;
filename = args[i + 1]; filename = args[i + 1];
i++; i++;
} else if (args[i].equals("-i")) { } else if (args[i].equals("-e")) {
command = Command.EXTRACT; command = Command.EXTRACT;
filename = args[i + 1]; filename = args[i + 1];
i++; i++;