mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
[Feature] Handle repeated non standard arguments (#6366)
* remove about message * handle repeated arguments * accomodate all the choices from different providers --------- Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
This commit is contained in:
@@ -908,11 +908,6 @@ class BaseController(metaclass=ABCMeta):
|
||||
|
||||
if "--help" in other_args or "-h" in other_args:
|
||||
txt_help = parser.format_help() + "\n"
|
||||
if parser.prog != "about":
|
||||
txt_help += (
|
||||
f"For more information and examples, use 'about {parser.prog}' "
|
||||
f"to access the related guide.\n"
|
||||
)
|
||||
session.console.print(f"[help]{txt_help}[/help]")
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user