From b34165d4fb7e285ae518671bafc4324876a7fe60 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 10 Jul 2017 10:15:03 -0400 Subject: [PATCH] 'wormhole help' should print the same thing as 'wormhole --help' refs #61 --- src/wormhole/cli/cli.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/wormhole/cli/cli.py b/src/wormhole/cli/cli.py index 154250a..baa04c6 100644 --- a/src/wormhole/cli/cli.py +++ b/src/wormhole/cli/cli.py @@ -168,6 +168,11 @@ TorArgs = _compose( ), ) +@wormhole.command() +@click.pass_context +def help(context, **kwargs): + print(context.find_root().get_help()) + # wormhole send (or "wormhole tx") @wormhole.command() @CommonArgs