Committed by
Gerrit Code Review
ONOS-1376 FIxed error in app command to report bad usage better.
Change-Id: Ib1a6c68cbe9fdef15c0b6b5c7e427999b6b39bdd
Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -61,6 +61,8 @@ public class ApplicationCommand extends AbstractShellCommand { | ... | @@ -61,6 +61,8 @@ public class ApplicationCommand extends AbstractShellCommand { |
61 | service.activate(appId); | 61 | service.activate(appId); |
62 | } else if (command.equals(DEACTIVATE)) { | 62 | } else if (command.equals(DEACTIVATE)) { |
63 | service.deactivate(appId); | 63 | service.deactivate(appId); |
64 | + } else { | ||
65 | + print("Unsupported command: %s", command); | ||
64 | } | 66 | } |
65 | } | 67 | } |
66 | } | 68 | } | ... | ... |
-
Please register or login to post a comment