This fixes the help docs for the repl and wallet subcommands. The repl subcommand was showing the proxy options docs instead, and the wallet subcommand was showing the description from the WalletSubCommand enum.
$ cargo run --features esplora-ureq,compiler -- --help
...
SUBCOMMANDS:
compile Compile a miniscript policy to an output descriptor
help Prints this message or the help of the given subcommand(s)
key Key management sub-commands
repl Proxy Server options
wallet Wallet sub-commands
After this PR we get:
$ cargo run --features esplora-ureq,compiler -- --help
...
SUBCOMMANDS:
compile Compile a miniscript policy to an output descriptor
help Prints this message or the help of the given subcommand(s)
key Key management sub-commands
repl Enter REPL command loop mode
wallet Wallet options and sub-commands
Description
This fixes the help docs for the
repl
andwallet
subcommands. Therepl
subcommand was showing the proxy options docs instead, and thewallet
subcommand was showing the description from theWalletSubCommand
enum.This is a workaround for
structopt
issue #333, #391, #418; see https://github.com/TeXitoi/structopt/issues/333#issuecomment-712265332Notes to the reviewers
Before this PR this was showing:
After this PR we get:
Checklists
All Submissions:
cargo fmt
andcargo clippy
before committingBugfixes: