Fix spelling of actions in application command
Change-Id: Iae17e1842f92ecd0b6112f1999d11dcff0f5c26a
diff --git a/cli/src/main/java/org/onosproject/cli/app/ApplicationCommand.java b/cli/src/main/java/org/onosproject/cli/app/ApplicationCommand.java
index 69e47d8..51bb9db 100644
--- a/cli/src/main/java/org/onosproject/cli/app/ApplicationCommand.java
+++ b/cli/src/main/java/org/onosproject/cli/app/ApplicationCommand.java
@@ -107,17 +107,21 @@
return false;
}
+ String action;
if (command.equals(UNINSTALL)) {
service.uninstall(appId);
+ action = "Uninstalled";
} else if (command.equals(ACTIVATE)) {
service.activate(appId);
+ action = "Activated";
} else if (command.equals(DEACTIVATE)) {
service.deactivate(appId);
+ action = "Deactivated";
} else {
print("Unsupported command: %s", command);
return false;
}
- print("%s-ed %s", command, appId.name());
+ print("%s %s", action, appId.name());
return true;
}