From 4353f07c4b74415e45c066c101326c935c10d83a Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Tue, 27 Mar 2018 11:35:49 +0530 Subject: Strip off poduct name from service name in help Issue-ID: CLI-100 Change-Id: I4c9b802f478f65c63e89040ecac3b5b931810f1d Signed-off-by: Kanagaraj Manickam k00365106 --- .../src/main/java/org/onap/cli/fw/registrar/OnapCommandRegistrar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/src') diff --git a/framework/src/main/java/org/onap/cli/fw/registrar/OnapCommandRegistrar.java b/framework/src/main/java/org/onap/cli/fw/registrar/OnapCommandRegistrar.java index 15a086c7..bd7977b3 100644 --- a/framework/src/main/java/org/onap/cli/fw/registrar/OnapCommandRegistrar.java +++ b/framework/src/main/java/org/onap/cli/fw/registrar/OnapCommandRegistrar.java @@ -385,7 +385,7 @@ public class OnapCommandRegistrar { attr.getValues().add(cmdName); } - attrSrv.getValues().add(cmd.printVersion()); + attrSrv.getValues().add(cmd.getInfo().getService()); attrDesc.getValues().add(cmd.getDescription()); } catch (OnapCommandException e) { throw new OnapCommandHelpFailed(e); -- cgit 1.2.3-korg