2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-16 01:57:08 +00:00

fix: Show pip's help menu when --help is passed in pip command

This commit is contained in:
Gavin D'souza 2021-11-20 02:16:19 +05:30
parent 7c4b6cea2b
commit 6d10d75bb1

View File

@ -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):