diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2020-08-09 14:39:21 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2020-08-09 14:39:21 +0200 |
commit | b427661237f7b00155cbe82caa8644e7b22c5f4f (patch) | |
tree | 4a25503b823e4856093e0a24323101d87440cf4a | |
parent | aacf3313390ab07f36c817bcfb48c11813be4580 (diff) |
Solve no-command issue -> show usage correctly
-rw-r--r-- | fracture/__main__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fracture/__main__.py b/fracture/__main__.py index e7c3381..b385116 100644 --- a/fracture/__main__.py +++ b/fracture/__main__.py @@ -158,7 +158,7 @@ if __name__ == "__main__": load_config() parser = ap(prog="fracture") - parser.set_defaults(func=lambda: parser.print_help()) + parser.set_defaults(func=lambda _: parser.print_help()) subparsers = parser.add_subparsers(title= "Subcommands", help="sub-command help") |