SHL-68 - Make help for built-in commands consistent

This commit is contained in:
mpollack
2013-07-25 18:11:17 -04:00
parent 201abafb15
commit 42328fb890
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ public class HelpCommands implements CommandMarker, ApplicationContextAware {
private ApplicationContext ctx;
@CliCommand(value = "help", help = "list all commands usage")
@CliCommand(value = "help", help = "List all commands usage")
public void obtainHelp(@CliOption(key = { "", "command" }, optionContext = "availableCommands", help = "Command name to provide help for") String buffer) {
JLineShellComponent shell = ctx.getBean("shell", JLineShellComponent.class);
SimpleParser parser = shell.getSimpleParser();

View File

@@ -38,7 +38,7 @@ public class OsCommands implements CommandMarker {
private OsOperations osOperations = new OsOperationsImpl();
@CliCommand(value = "!", help = "Allows execution of operating system (OS) commands.")
@CliCommand(value = "!", help = "Allows execution of operating system (OS) commands")
public void command(
@CliOption(key = { "", "command" }, mandatory = false, specifiedDefaultValue = "", unspecifiedDefaultValue = "", help = "The command to execute") final String command) {