Page MenuHomePhabricator

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

Authored by PiRK on Oct 16 2020, 07:36.

Details

Reviewers
Fabien
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABC6398509bca66: 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

Diff Detail

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