Page MenuHomePhabricator

Output license info when binaries are passed -version
ClosedPublic

Authored by PiRK on May 23 2024, 15:37.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC787c14c6272b: Output license info when binaries are passed -version
Summary

Consolidate to outputting the licensing info when we pass -version to a binary.
Prior to this commit, the behavior is inconsistent between the various binaries.

This is a partial backport of core#24409
https://github.com/bitcoin/bitcoin/pull/24409/commits/2618fb8d15d01dca967856c92ebf3e4cc09699a2

Depends on D16215

Test Plan
ninja check-functional
src/bitcoind -version
src/bitcoin-cli -version
src/bitcoin-wallet -version
src/bitcoin-tx -version

Test that the output of the manpage generation script makes sense for bitcoin-tx and bitcoin-wallet