HomePhabricator

fix gen-manpages.sh to take into account shorter `bitcoind --version` line

Description

fix gen-manpages.sh to take into account shorter bitcoind --version line

Summary:
D7933 removed one word on the first line of the output of bitcoind --version.
The version number is now the 4th word on that line, and the manpage generation script should take this into account.

Depends on D7933

Test Plan:

$ src/bitcoind --version  | awk -F'[ -]' 'NR == 1 {print $4, $5}'
v0.22.5 66837b8c7
ninja doc-manpage-bitcoin-cli
cat doc/man/bitcoin-cli.1

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, Fabien

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, Fabien

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

Details

Provenance
PiRKAuthored on Oct 16 2020, 08:05
abc-botPushed on Oct 16 2020, 08:09
Reviewer
Restricted Owners Package
Differential Revision
D7946: fix gen-manpages.sh to take into account shorter `bitcoind --version` line
Parents
rABC3d50b09d9012: log: harmonize bitcoind server logging
Branches
Unknown
Tags
Unknown