diff options
author | fanquake <fanquake@gmail.com> | 2024-03-07 11:27:07 +0000 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2024-03-07 13:07:53 +0000 |
commit | 7c3ac598dd9a1f1a506c4931249ff6c9f1c949ba (patch) | |
tree | 577fa3d1cdea5862143d3501c3aa959c9deb1778 /contrib/devtools | |
parent | c2c6a7d1dc162945fa56deb6eaf2bdd7f84999e8 (diff) | |
download | bitcoin-7c3ac598dd9a1f1a506c4931249ff6c9f1c949ba.tar.xz |
contrib: list other binaries in manpage output
Diffstat (limited to 'contrib/devtools')
-rwxr-xr-x | contrib/devtools/gen-manpages.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/devtools/gen-manpages.py b/contrib/devtools/gen-manpages.py index 2860e7db99..92acd9a403 100755 --- a/contrib/devtools/gen-manpages.py +++ b/contrib/devtools/gen-manpages.py @@ -62,6 +62,10 @@ with tempfile.NamedTemporaryFile('w', suffix='.h2m') as footer: # Copyright is the same for all binaries, so just use the first. footer.write('[COPYRIGHT]\n') footer.write('\n'.join(versions[0][2]).strip()) + # Create SEE ALSO section + footer.write('\n[SEE ALSO]\n') + footer.write(', '.join(s.rpartition('/')[2] + '(1)' for s in BINARIES)) + footer.write('\n') footer.flush() # Call the binaries through help2man to produce a manual page for each of them. |