fix hyperopt not getting default ticker_interval

This commit is contained in:
Samuel Husso 2017-12-17 12:34:26 +02:00
parent 155ed4e501
commit ce51749177
1 changed files with 8 additions and 0 deletions

View File

@ -191,6 +191,14 @@ def build_subcommands(parser: argparse.ArgumentParser) -> None:
dest='mongodb',
action='store_true',
)
hyperopt_cmd.add_argument(
'-i', '--ticker-interval',
help='specify ticker interval in minutes (default: 5)',
dest='ticker_interval',
default=5,
type=int,
metavar='INT',
)
# Required json-schema for user specified config