mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-29 05:21:48 +00:00
Merge pull request #126 from DidierRLopes/improve/124
Remove -t flag requirement from load command (#124)
This commit is contained in:
@@ -111,6 +111,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:
|
||||
|
||||
Reference in New Issue
Block a user