Currently help2man produces some unexpected commands in the manual page file bitcoin-cli.1:
- .TP + .IP for 'Usage' in DESCRIPTION section. Should be all .TP;
- .TP + .IP for '-stdinrpcpass' in OPTIONS section. Should be only an .IP
Currently help2man produces some unexpected commands in the manual page file bitcoin-cli.1:
Currently help2man produces some unexpected commands in manual page file bitcoin-cli.1:
1) .TP + .IP for 'Usage' in DESCRIPTION section. Should be all .TP;
2) .TP + .IP for '-stdinrpcpass' in OPTIONS section. Should be only an .IP
<!--e57a25ab6845829454e8d69fc972939a-->Note to reviewers: This pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
107 | @@ -108,7 +108,7 @@ static int AppInitRPC(int argc, char* argv[]) 108 | if (!gArgs.IsArgSet("-version")) { 109 | strUsage += "\nUsage:\n" 110 | " bitcoin-cli [options] <command> [params] " + strprintf("Send command to %s", PACKAGE_NAME) + "\n" + 111 | - " bitcoin-cli [options] -named <command> [name=value] ... " + strprintf("Send command to %s (with named arguments)", PACKAGE_NAME) + "\n" + 112 | + " bitcoin-cli [options] -named <command> [name=value]... " + strprintf("Send command to %s (with named arguments)", PACKAGE_NAME) + "\n" +
I think the solution in #13872 is better for help2man.
<!--cf906140f33d8803c4a75a2196329ecb-->Needs rebase