mirror of
https://github.com/frappe/bench.git
synced 2024-11-13 16:56:33 +00:00
fix: Show pip's help menu when --help is passed in pip command
This commit is contained in:
parent
7c4b6cea2b
commit
6d10d75bb1
@ -118,7 +118,7 @@ def include_app_for_update(app_name):
|
||||
remove_from_excluded_apps_txt(app_name)
|
||||
|
||||
|
||||
@click.command('pip', context_settings={"ignore_unknown_options": True}, help="For pip help use `bench pip help [COMMAND]` or `bench pip [COMMAND] -h`")
|
||||
@click.command('pip', context_settings={"ignore_unknown_options": True, "help_option_names": []}, help="For pip help use `bench pip help [COMMAND]` or `bench pip [COMMAND] -h`")
|
||||
@click.argument('args', nargs=-1)
|
||||
@click.pass_context
|
||||
def pip(ctx, args):
|
||||
|
Loading…
Reference in New Issue
Block a user