From 8cd049410141423be9476f44dca44cc67a961349 Mon Sep 17 00:00:00 2001 From: DidierRLopes Date: Wed, 10 Mar 2021 23:39:10 +0000 Subject: [PATCH] Revert changes in this branch to make tests pass --- terminal.py | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/terminal.py b/terminal.py index a4e13d7a71f..d4d47fe29a0 100644 --- a/terminal.py +++ b/terminal.py @@ -46,25 +46,27 @@ def main(): # Add list of arguments that the main parser accepts menu_parser = argparse.ArgumentParser(prog="gamestonk_terminal", add_help=False) - choices = [ - "help", - "quit", - "q", - "clear", - "load", - "view", - "export", - "disc", - "mill", - "sen", - "res", - "fa", - "ta", - "dd", - "pred", - ] - menu_parser.add_argument("opt", choices=choices) - word_completer = WordCompleter(choices) + menu_parser.add_argument( + "opt", + choices=[ + "help", + "quit", + "q", + "clear", + "load", + "view", + "export", + "disc", + "mill", + "sen", + "res", + "ca", + "fa", + "ta", + "dd", + "pred", + ], + ) # Print first welcome message and help print("\nWelcome to Gamestonk Terminal 🚀\n")