From edbad68df37d63354a5feb8aa007de9a6846a081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20K=C3=A4stel?= Date: Fri, 1 Jun 2018 11:42:14 +0200 Subject: [PATCH] Remove parameter --eab and namespace kid and hmac. Also add parameters to "register" subcommand. --- certbot/cli.py | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/certbot/cli.py b/certbot/cli.py index 0d0eea519..7f8627953 100644 --- a/certbot/cli.py +++ b/certbot/cli.py @@ -936,20 +936,15 @@ def prepare_and_parse_args(plugins, args, detect_defaults=False): # pylint: dis "name. In the case of a name collision it will append a number " "like 0001 to the file path name. (default: Ask)") helpful.add( - [None, "run", "certonly"], - "--eab", action="store_true", dest="eab", - help="Use External Account Binding for account registration." - ) - helpful.add( - [None, "run", "certonly"], - "--kid", dest="kid", - metavar="KID", + [None, "run", "certonly", "register"], + "--eab-kid", dest="eab_kid", + metavar="EAB_KID", help="Key Identifier for External Account Binding" ) helpful.add( - [None, "run", "certonly"], - "--hmac", dest="hmac", - metavar="HMAC", + [None, "run", "certonly", "register"], + "--eab-hmac", dest="eab_hmac", + metavar="EAB_HMAC", help="HMAC for External Account Binding" ) helpful.add(