Merge pull request #2377 from freqtrade/aligncustomoptions
Rename --custom-hyperopt to --hyperopt
This commit is contained in:
@@ -157,7 +157,7 @@ AVAILABLE_CLI_OPTIONS = {
|
||||
),
|
||||
# Hyperopt
|
||||
"hyperopt": Arg(
|
||||
'--customhyperopt',
|
||||
'--hyperopt',
|
||||
help='Specify hyperopt class name which will be used by the bot.',
|
||||
metavar='NAME',
|
||||
),
|
||||
|
@@ -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']
|
||||
|
Reference in New Issue
Block a user