Fixes to manpage generation; regenerate manpages

This commit is contained in:
Glenn Willen 2022-08-03 12:23:48 -07:00
parent 7180bdcbc9
commit dea9125620
9 changed files with 24 additions and 28 deletions

View file

@ -18,7 +18,7 @@ if BUILD_BITCOIN_TX
endif
if BUILD_BITCOIN_UTIL
dist_man1_MANS+=bitcoin-util.1
dist_man1_MANS+=elements-util.1
endif
if ENABLE_WALLET

View file

@ -1,5 +0,0 @@
.TH BITCOIN-UTIL "1"
.SH NAME
bitcoin-util \- manual page for bitcoin-util
This is a placeholder file. Please follow the instructions in \fIcontrib/devtools/README.md\fR to generate the manual pages after a release.

View file

@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13.
.TH ELEMENTS-CLI "1" "August 2022" "elements-cli v22.0.0rc2" "User Commands"
.TH ELEMENTS-CLI "1" "August 2022" "elements-cli elements" "User Commands"
.SH NAME
elements-cli \- manual page for elements-cli v22.0.0rc2
elements-cli \- manual page for elements-cli elements
.SH SYNOPSIS
.B elements-cli
[\fI\,options\/\fR] \fI\,<command> \/\fR[\fI\,params\/\fR] \fI\,Send command to Elements Core\/\fR
@ -15,7 +15,7 @@ elements-cli \- manual page for elements-cli v22.0.0rc2
.B elements-cli
[\fI\,options\/\fR] \fI\,help <command> Get help for a command\/\fR
.SH DESCRIPTION
Elements Core RPC client version v22.0.0rc2
Elements Core RPC client version elements\-22.0.0
.SH OPTIONS
.HP
\-?

View file

@ -1,12 +1,12 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13.
.TH ELEMENTS-QT "1" "August 2022" "elements-qt v22.0.0rc2" "User Commands"
.TH ELEMENTS-QT "1" "August 2022" "elements-qt elements" "User Commands"
.SH NAME
elements-qt \- manual page for elements-qt v22.0.0rc2
elements-qt \- manual page for elements-qt elements
.SH SYNOPSIS
.B elements-qt
[\fI\,command-line options\/\fR]
.SH DESCRIPTION
Elements Core version v22.0.0rc2
Elements Core version elements\-22.0.0
.SH OPTIONS
.HP
\-?

View file

@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13.
.TH ELEMENTS-TX "1" "August 2022" "elements-tx v22.0.0rc2" "User Commands"
.TH ELEMENTS-TX "1" "August 2022" "elements-tx elements" "User Commands"
.SH NAME
elements-tx \- manual page for elements-tx v22.0.0rc2
elements-tx \- manual page for elements-tx elements
.SH SYNOPSIS
.B elements-tx
[\fI\,options\/\fR] \fI\,<hex-tx> \/\fR[\fI\,commands\/\fR] \fI\,Update hex-encoded Elements transaction\/\fR
@ -9,7 +9,7 @@ elements-tx \- manual page for elements-tx v22.0.0rc2
.B elements-tx
[\fI\,options\/\fR] \fI\,-create \/\fR[\fI\,commands\/\fR] \fI\,Create hex-encoded Elements transaction\/\fR
.SH DESCRIPTION
Elements Core elements\-tx utility version v22.0.0rc2
Elements Core elements\-tx utility version elements\-22.0.0
.SH OPTIONS
.HP
\-?

View file

@ -1,12 +1,12 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13.
.TH ELEMENTS-UTIL "1" "August 2022" "elements-util v22.0.0rc2" "User Commands"
.TH ELEMENTS-UTIL "1" "August 2022" "elements-util elements" "User Commands"
.SH NAME
elements-util \- manual page for elements-util v22.0.0rc2
elements-util \- manual page for elements-util elements
.SH SYNOPSIS
.B bitcoin-util
.B elements-util
[\fI\,options\/\fR] [\fI\,commands\/\fR] \fI\,Do stuff\/\fR
.SH DESCRIPTION
Elements Core bitcoin\-util utility version v22.0.0rc2
Elements Core elements\-util utility version elements\-22.0.0
.SH OPTIONS
.HP
\-?

View file

@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13.
.TH ELEMENTS-WALLET "1" "August 2022" "elements-wallet v22.0.0rc2" "User Commands"
.TH ELEMENTS-WALLET "1" "August 2022" "elements-wallet elements" "User Commands"
.SH NAME
elements-wallet \- manual page for elements-wallet v22.0.0rc2
elements-wallet \- manual page for elements-wallet elements
.SH DESCRIPTION
Elements Core elements\-wallet version v22.0.0rc2
Elements Core elements\-wallet version elements\-22.0.0
.PP
elements\-wallet is an offline tool for creating and interacting with Elements Core wallet files.
By default elements\-wallet will act on wallets in the default mainnet wallet directory in the datadir.

View file

@ -1,18 +1,19 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13.
.TH ELEMENTSD "1" "August 2022" "elementsd v22.0.0rc2" "User Commands"
.TH ELEMENTSD "1" "August 2022" "elementsd elements" "User Commands"
.SH NAME
elementsd \- manual page for elementsd v22.0.0rc2
elementsd \- manual page for elementsd elements
.SH SYNOPSIS
.B elementsd
[\fI\,options\/\fR] \fI\,Start Elements Core\/\fR
.SH DESCRIPTION
Elements Core version v22.0.0rc2
Elements Core version elements\-22.0.0
Copyright \(co 2009\-2021 The Elements Project developers
Copyright \(co 2009\-2021 The Bitcoin Core developers
.PP
Please contribute if you find Elements Core useful. Visit
<https://elementsproject.org/> for further information about the software.
The source code is available from <https://github.com/bitcoin/bitcoin>.
The source code is available from
<https://github.com/ElementsProject/elements>.
.PP
This is experimental software.
Distributed under the MIT software license, see the accompanying file COPYING

View file

@ -52,10 +52,10 @@ static int AppInitUtil(ArgsManager& args, int argc, char* argv[])
if (HelpRequested(args) || args.IsArgSet("-version")) {
// First part of help message is specific to this utility
std::string strUsage = PACKAGE_NAME " bitcoin-util utility version " + FormatFullVersion() + "\n";
std::string strUsage = PACKAGE_NAME " elements-util utility version " + FormatFullVersion() + "\n";
if (!args.IsArgSet("-version")) {
strUsage += "\n"
"Usage: bitcoin-util [options] [commands] Do stuff\n";
"Usage: elements-util [options] [commands] Do stuff\n";
strUsage += "\n" + args.GetHelpMessage();
}