mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Ensure consistent program naming
(`python -m freqtrade --version`)
This commit is contained in:
parent
dd04c51c42
commit
73905b33ad
|
@ -197,7 +197,10 @@ class Arguments:
|
|||
self._build_args(optionlist=ARGS_STRATEGY, parser=strategy_group)
|
||||
|
||||
# Build main command
|
||||
self.parser = argparse.ArgumentParser(description='Free, open source crypto trading bot')
|
||||
self.parser = argparse.ArgumentParser(
|
||||
prog="freqtrade",
|
||||
description='Free, open source crypto trading bot'
|
||||
)
|
||||
self._build_args(optionlist=['version'], parser=self.parser)
|
||||
|
||||
from freqtrade.commands import (start_analysis_entries_exits, start_backtesting,
|
||||
|
|
|
@ -20,7 +20,10 @@ logger = logging.getLogger("ft_rest_client")
|
|||
|
||||
|
||||
def add_arguments(args: Any = None):
|
||||
parser = argparse.ArgumentParser()
|
||||
parser = argparse.ArgumentParser(
|
||||
prog="freqtrade-client",
|
||||
description="Client for the freqtrade REST API",
|
||||
)
|
||||
parser.add_argument("command",
|
||||
help="Positional argument defining the command to execute.",
|
||||
nargs="?"
|
||||
|
|
Loading…
Reference in New Issue
Block a user