We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e6d45f commit 9c84cb4Copy full SHA for 9c84cb4
1 file changed
SoftLayer/shell/cmd_help.py
@@ -9,7 +9,7 @@
9
from SoftLayer.shell import routes
10
11
12
-@click.command()
+@click.command(short_help="Print shell help text.")
13
@environment.pass_env
14
@click.pass_context
15
def cli(ctx, env):
@@ -22,6 +22,8 @@ def cli(ctx, env):
22
shell_commands = []
23
for name in cli_core.cli.list_commands(ctx):
24
command = cli_core.cli.get_command(ctx, name)
25
+ if command.short_help is None:
26
+ command.short_help = command.help
27
details = (name, command.short_help)
28
if name in dict(routes.ALL_ROUTES):
29
shell_commands.append(details)
0 commit comments