Browse code

boobank-accounts: fix --help.

Xavier G authored on11/11/2017 23:22:45
Showing1 changed files

... ...
@@ -17,7 +17,7 @@ def parse_args():
17 17
     Parse command-line arguments.
18 18
     """
19 19
     description = 'Display the contents of cached "boobank list" JSON files.'
20
-    args_parser = argparse.ArgumentParser(description)
20
+    args_parser = argparse.ArgumentParser(description=description)
21 21
     args_parser.add_argument('json_file', nargs='*', default=['-'], help='JSON files to display')
22 22
     return args_parser.parse_args()
23 23