HomePhabricator

Output license info when binaries are passed -version

Description

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

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
fanquake <fanquake@gmail.com>Authored on Feb 21 2022, 19:32
PiRKCommitted on May 24 2024, 15:33
PiRKPushed on May 24 2024, 15:33
Reviewer
Restricted Project
Differential Revision
D16216: Output license info when binaries are passed -version
Parents
rABC7e3e8a7d8d16: refactor: shift CopyrightHolders() and LicenseInfo() to clientversion.cpp
Branches
Unknown
Tags
Unknown