diff options
Diffstat (limited to 'validate/validation/src/test/java/org/onap')
-rw-r--r-- | validate/validation/src/test/java/org/onap/cli/validation/OnapCliMainTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/validate/validation/src/test/java/org/onap/cli/validation/OnapCliMainTest.java b/validate/validation/src/test/java/org/onap/cli/validation/OnapCliMainTest.java index 779978f9..cfccef62 100644 --- a/validate/validation/src/test/java/org/onap/cli/validation/OnapCliMainTest.java +++ b/validate/validation/src/test/java/org/onap/cli/validation/OnapCliMainTest.java @@ -63,9 +63,10 @@ public class OnapCliMainTest { OnapCommandRegistrar.getRegistrar().setEnabledProductVersion(version); System.out.println(version); System.out.println("==========================\n\n"); + int i = 1; for (ExternalSchema sch : OnapCommandRegistrar.getRegistrar().listCommandInfo()) { if (sch.getCmdVersion().equals(version)) { - System.out.println(sch.getCmdName()); + System.out.println("[" + i++ + "] " + sch.getCmdName()); System.out.println("-----------------------------------------------\n\n"); this.handle(new String[] { sch.getCmdName(), "-h"}); System.out.println("\n"); |