Rename --custom-hyperopt to --hyperopt

This commit is contained in:
Matthias
2019-10-14 19:42:28 +02:00
parent 2c200873c1
commit 89283ef486
6 changed files with 13 additions and 13 deletions

View File

@@ -152,7 +152,7 @@ AVAILABLE_CLI_OPTIONS = {
),
# Hyperopt
"hyperopt": Arg(
'--customhyperopt',
'--hyperopt',
help='Specify hyperopt class name which will be used by the bot.',
metavar='NAME',
),

View File

@@ -28,7 +28,7 @@ class HyperOptResolver(IResolver):
:param config: configuration dictionary
"""
if not config.get('hyperopt'):
raise OperationalException("No Hyperopt set. Please use `--customhyperopt` to specify "
raise OperationalException("No Hyperopt set. Please use `--hyperopt` to specify "
"the Hyperopt class to use.")
hyperopt_name = config['hyperopt']