HomePhabricator

Fix RPC help for dumptxoutset

Description

Fix RPC help for dumptxoutset

Summary: A mandatory argument cannot have a default value. The help message was not formatted correctly, as a result.

Test Plan:
Before:

$ src/bitcoin-cli help dumptxoutset
dumptxoutset path to the output file. If relative, will be prefixed by datadir.

Write the serialized UTXO set to disk.

Arguments:
1. path    (string, required)

Result:
...

After:

$ src/bitcoin-cli help dumptxoutset
dumptxoutset "path"

Write the serialized UTXO set to disk.

Arguments:
1. path    (string, required) path to the output file. If relative, will be prefixed by datadir.

Result:
...

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10155

Details

Provenance
PiRKAuthored on Sep 19 2021, 08:49
PiRKPushed on Sep 20 2021, 08:31
Reviewer
Restricted Project
Differential Revision
D10155: Fix RPC help for dumptxoutset
Parents
rABCb05db9b462c6: remove unnecessary newline at the start of RPC help descriptions
Branches
Unknown
Tags
Unknown