commit | 5e897b79026465b2b13a11af3487b0b0fc455521 | [log] [tgz] |
---|---|---|
author | suibin zhang <suibin@onlab.us> | Thu Aug 06 10:02:18 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Thu Aug 06 20:26:04 2015 +0000 |
tree | 5130f395a4bacf6694b21ff1cff186d96c085d85 | |
parent | a5c14382a44e21ff4ee6d6269fe4dc13ca23c6f9 [diff] |
add print msg when use -p flag Change-Id: I7f5fc7ddcf1ada45bb4874e48b683cc028e53056
diff --git a/cli/src/main/java/org/onosproject/cli/net/IntentRemoveCommand.java b/cli/src/main/java/org/onosproject/cli/net/IntentRemoveCommand.java index e7097f2..492b3a2 100644 --- a/cli/src/main/java/org/onosproject/cli/net/IntentRemoveCommand.java +++ b/cli/src/main/java/org/onosproject/cli/net/IntentRemoveCommand.java
@@ -72,9 +72,9 @@ IntentService intentService = get(IntentService.class); CoreService coreService = get(CoreService.class); - if (sync) { - print("Use Sync to remove intents - this may take a while..."); - print("Check \"summary\" to see remove progress."); + if (purgeAfterRemove || sync) { + print("Using \"sync\" to remove/purge intents - this may take a while..."); + print("Check \"summary\" to see remove/purge progress."); } ApplicationId appId = appId();