summaryrefslogtreecommitdiff
path: root/imdb-lookup/imdbinfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'imdb-lookup/imdbinfo.py')
-rwxr-xr-ximdb-lookup/imdbinfo.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/imdb-lookup/imdbinfo.py b/imdb-lookup/imdbinfo.py
index 649b71d..e4e2aab 100755
--- a/imdb-lookup/imdbinfo.py
+++ b/imdb-lookup/imdbinfo.py
@@ -269,7 +269,6 @@ class HelpAction(argparse._HelpAction):
def __call__(self, parser, namespace, values, option_string=None):
formatter = parser._get_formatter()
formatter.add_usage(parser.usage, parser._actions, parser._mutually_exclusive_groups)
- formatter.add_text(parser.description)
formatter.start_section(parser._optionals.title)
formatter.add_text(parser._optionals.description)
@@ -302,7 +301,7 @@ def do_test(args):
if __name__ == "__main__":
tmdb.API_KEY = read_key()
- parser = argparse.ArgumentParser(description="get movie data", add_help=False)
+ parser = argparse.ArgumentParser(add_help=False)
parser.add_argument("--help", action=HelpAction, help="Display full help")
parser.add_argument("--log-level", action='store', type=int,
help="Set log level (CRITICAL=50,ERROR=40,WARNING=30,INFO=20,DEBUG=10,NOTSET=0")