summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2021-01-25 15:49:59 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2021-01-25 15:49:59 +0100
commitba9457d3554ae5bb4df6cb054d39ba1d2b644f1b (patch)
treef3e9ab782e3463ae93c27fbed730bfd72137aa25
parent9849969e2573a0dae454cba82fe389a89939257d (diff)
Add help for all commands
-rw-r--r--fracture/__main__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/fracture/__main__.py b/fracture/__main__.py
index 649e561..5650f91 100644
--- a/fracture/__main__.py
+++ b/fracture/__main__.py
@@ -183,13 +183,14 @@ if __name__ == "__main__":
help="sub-command help")
# New Invoice
- new_parser = subparsers.add_parser("new", aliases=["n"], help="a help")
+ new_parser = subparsers.add_parser("new", aliases=["n"],
+ help="Add new invoice")
new_parser.set_defaults(func=new_invoice)
# Configure fracture
configure_parser = subparsers.add_parser("configure",
aliases=["c","conf","config"],
- help="b help")
+ help="Configure fracture")
configure_parser.set_defaults(func=edit_config)
# Summary