Skip to content

Commit

Permalink
commands.help:cmd_help - remove unused "--database" option
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoCampinoti94 committed Dec 17, 2024
1 parent af3d057 commit 9c86196
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions digiarch/commands/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from click import Context
from click import Group
from click import Option
from click import option
from click import pass_context
from click import UsageError
from click.shell_completion import CompletionItem
Expand All @@ -26,7 +25,6 @@ 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)
@option("--database", expose_value=False, required=False, hidden=True)
@pass_context
def cmd_help(ctx: Context, commands: tuple[str, ...]):
"""Show the help for a command."""
Expand Down

0 comments on commit 9c86196

Please sign in to comment.