From cbc2f0c6572ff61d752aa773c3221828387c13ed Mon Sep 17 00:00:00 2001 From: didier Date: Sun, 7 Mar 2021 10:49:53 +0000 Subject: [PATCH] #124 Remove -t flag requirement from load command --- terminal.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/terminal.py b/terminal.py index 397cebe2a4d..9e67462cb26 100644 --- a/terminal.py +++ b/terminal.py @@ -56,6 +56,11 @@ def load(l_args, s_ticker, s_start, s_interval, df_stock): ) try: + # For the case where a user uses: 'load BB' + if l_args: + if "-" not in l_args[0]: + l_args.insert(0, "-t") + ns_parser = parse_known_args_and_warn(parser, l_args) except SystemExit: