summaryrefslogtreecommitdiff
path: root/fracture
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2020-08-09 14:39:21 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2020-08-09 14:39:21 +0200
commitb427661237f7b00155cbe82caa8644e7b22c5f4f (patch)
tree4a25503b823e4856093e0a24323101d87440cf4a /fracture
parentaacf3313390ab07f36c817bcfb48c11813be4580 (diff)
Solve no-command issue -> show usage correctly
Diffstat (limited to 'fracture')
-rw-r--r--fracture/__main__.py2
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")