SHL-68 - Make help for built-in commands consistent
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user