Page MenuHomePhabricator

Fix RPC help for dumptxoutset
ClosedPublic

Authored by PiRK on Sep 19 2021, 08:55.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC3e56fd0165ff: 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:
...

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Sep 19 2021, 08:55
This revision is now accepted and ready to land.Sep 20 2021, 07:13
This revision was automatically updated to reflect the committed changes.