Skip to content

Commit

Permalink
commands.help - format
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoCampinoti94 committed Dec 17, 2024
1 parent 42b76b8 commit af3d057
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions digiarch/commands/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,7 @@ def commands_completion(ctx: Context, param: Option, incomplete: str) -> list[Co


@command("help", context_settings={"ignore_unknown_options": True})
@argument(
"commands",
nargs=-1,
required=False,
type=str,
shell_complete=commands_completion,
)
@argument("commands", nargs=-1, required=False, type=str, shell_complete=commands_completion)
@option("--database", expose_value=False, required=False, hidden=True)
@pass_context
def cmd_help(ctx: Context, commands: tuple[str, ...]):
Expand Down

0 comments on commit af3d057

Please sign in to comment.