Allow query version without subcommand

This commit is contained in:
Matthias 2019-09-16 06:44:39 +02:00
parent 67b82638db
commit 014881e550

View File

@ -99,6 +99,7 @@ class Arguments:
# Build main command # Build main command
self.parser = argparse.ArgumentParser(description='Free, open source crypto trading bot') self.parser = argparse.ArgumentParser(description='Free, open source crypto trading bot')
self._build_args(optionlist=['version'], parser=self.parser)
from freqtrade.optimize import start_backtesting, start_hyperopt, start_edge from freqtrade.optimize import start_backtesting, start_hyperopt, start_edge
from freqtrade.utils import (start_create_userdir, start_download_data, from freqtrade.utils import (start_create_userdir, start_download_data,