mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 15:52:08 -04:00
add deprication
This commit is contained in:
parent
5b112cef7a
commit
d8031f16bd
1 changed files with 4 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ import argparse
|
|||
import collections
|
||||
import logging
|
||||
import socket
|
||||
import sys
|
||||
import threading
|
||||
|
||||
import OpenSSL
|
||||
|
|
@ -119,6 +120,8 @@ def supported_challenges_validator(data):
|
|||
It should be passed as `type` argument to `add_argument`.
|
||||
|
||||
"""
|
||||
sys.stderr.write("WARNING: The standalone specific supported challenges flag is depricated")
|
||||
sys.stderr.write("\nPlease use the --preferred-challenges flag instead.\n")
|
||||
challs = data.split(",")
|
||||
|
||||
# tls-sni-01 was dvsni during private beta
|
||||
|
|
@ -177,7 +180,7 @@ class Authenticator(common.Plugin):
|
|||
@classmethod
|
||||
def add_parser_arguments(cls, add):
|
||||
add("supported-challenges",
|
||||
help="Supported challenges. Preferred in the order they are listed.",
|
||||
help=argparse.SUPPRESS,
|
||||
type=supported_challenges_validator,
|
||||
default=",".join(chall.typ for chall in SUPPORTED_CHALLENGES))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue