HomePhabricator

[docs] Reformat -help output for help2man

Description

[docs] Reformat -help output for help2man

Summary:
This commit slightly changes the format of the "Usage" strings in CLI
-help messages to meet the expection of the help2man tool, which we
use to generate man pages. On the way, we remove a few calls to
strprintf(), which became superficial after commit 32fbfda.

This is a backport of Core PR13872

Test Plan:

make check
BUILDDIR=~/bitcoin-abc/build ../contrib/devtools/gen-manpages.sh

Make sure the new generated manpages do make sense.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
Tim Ruffing <crypto@timruffing.de>Authored on May 8 2018, 15:31
deadalnixCommitted on May 16 2019, 16:19
deadalnixPushed on May 16 2019, 16:19
Reviewer
Restricted Project
Differential Revision
D3043: [docs] Reformat -help output for help2man
Parents
rABC31774f185a37: Fix braces in warnings.cpp
Branches
Unknown
Tags
Unknown