From 6dbae90e7e8ecb8ac5f74f070f13857ed4f2cabc Mon Sep 17 00:00:00 2001 From: James Callahan Date: Fri, 8 Apr 2022 12:23:27 +1000 Subject: [PATCH] Update click library usage autocompletion was deprecated; removed in click 8.1.0 --- mtls/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtls/cli.py b/mtls/cli.py index 9bd201c..d2731df 100644 --- a/mtls/cli.py +++ b/mtls/cli.py @@ -133,7 +133,7 @@ def get_servers(ctx, args, incomplete): "-s", type=str, help="Server to run command against.", - autocompletion=get_servers, + shell_complete=get_servers, ) @click.option( "--config",