alshabib

fix small bug in flows cmd

Change-Id: I7f2ad7b8e5871187333d301b93e79aaf14095f76
...@@ -13,7 +13,6 @@ import org.onlab.onos.net.Device; ...@@ -13,7 +13,6 @@ import org.onlab.onos.net.Device;
13 import org.onlab.onos.net.DeviceId; 13 import org.onlab.onos.net.DeviceId;
14 import org.onlab.onos.net.device.DeviceService; 14 import org.onlab.onos.net.device.DeviceService;
15 import org.onlab.onos.net.flow.FlowRule; 15 import org.onlab.onos.net.flow.FlowRule;
16 -import org.onlab.onos.net.flow.FlowRule.FlowRuleState;
17 import org.onlab.onos.net.flow.FlowRuleService; 16 import org.onlab.onos.net.flow.FlowRuleService;
18 17
19 import com.google.common.collect.Maps; 18 import com.google.common.collect.Maps;
...@@ -30,11 +29,7 @@ public class FlowsListCommand extends AbstractShellCommand { ...@@ -30,11 +29,7 @@ public class FlowsListCommand extends AbstractShellCommand {
30 private static final String TFMT = " treatment=%s"; 29 private static final String TFMT = " treatment=%s";
31 private static final String SFMT = " selector=%s"; 30 private static final String SFMT = " selector=%s";
32 31
33 - @Argument(index = 0, name = "state", description = "Flow rule state", 32 + @Argument(index = 0, name = "uri", description = "Device ID",
34 - required = false, multiValued = false)
35 - FlowRuleState state = null;
36 -
37 - @Argument(index = 1, name = "uri", description = "Device ID",
38 required = false, multiValued = false) 33 required = false, multiValued = false)
39 String uri = null; 34 String uri = null;
40 35
......