commit ce642318ed59e6c18b5759aed3fb55a79e28b149 Author: Cristiano Gavião <cvgav...@gmail.com> AuthorDate: Wed, 26 Mar 2014 00:54:07 -0300 Commit: Cristiano Gavião <cvgav...@gmail.com> CommitDate: Wed, 26 Mar 2014 00:54:07 -0300
improved commands descriptions diff --git a/jbehave-osgi-bundles/org.jbehave.osgi.core/src/main/java/org/jbehave/osgi/core/commands/DefaultCommandsComponent.java b/jbehave-osgi-bundles/org.jbehave.osgi.core/src/main/java/org/jbehave/osgi/core/commands/DefaultCommandsComponent.java index 9d6786e..a6950b7 100644 --- a/jbehave-osgi-bundles/org.jbehave.osgi.core/src/main/java/org/jbehave/osgi/core/commands/DefaultCommandsComponent.java +++ b/jbehave-osgi-bundles/org.jbehave.osgi.core/src/main/java/org/jbehave/osgi/core/commands/DefaultCommandsComponent.java @@ -105,22 +105,24 @@ public class DefaultCommandsComponent extends AbstractComponent { return builder.toString(); } + @Descriptor("Manage registered JBehave's InjectableStepsFactory services. \n\tWithout parameter is like as 'stf list'") public void stf() { stf("list", new InjectableStepsFactoryService[0]); } - @Descriptor("Manage registered JBehave's StepFactory services.") + @Descriptor("Manage registered JBehave's InjectableStepsFactory services. \n\tA short version of stepsFactory command.") public void stf( @Descriptor("StepsFactory services actions are:(list - all registered services| details)") String action, @Descriptor("One or more registered StepFactory services") InjectableStepsFactoryService... stepsFactoryServices) { stepsFactory(action, stepsFactoryServices); } + @Descriptor("Manage registered JBehave's StoryRunner services. \n\tWithout parameter is like as 'str list'") public void str() { str("", "list", new StoryRunnerService[0]); } - @Descriptor("Manage registered JBehave's StoryRunner services.") + @Descriptor("Manage registered JBehave's StoryRunner services. \n\tA short version of storyRunner command.") public void str( @Descriptor("sets the reporting output directory only for one run.") @Parameter(names = { "-o", "--output" }, absentValue = "") String reportOutputDir, @@ -129,7 +131,7 @@ public class DefaultCommandsComponent extends AbstractComponent { storyRunner(reportOutputDir, action, storyRunnerServices); } - @Descriptor("Manage registered JBehave's StepFactory services.") + @Descriptor("Manage registered JBehave's InjectableStepsFactory services.") public void stepsFactory( @Descriptor("StepsFactory services actions are:(list - all registered services| details)") String action, @Descriptor("One or more registered StepFactory services") InjectableStepsFactoryService... stepsFactoryServices) {