-
Notifications
You must be signed in to change notification settings - Fork 38.7k
doc: fixed bitcoin-cli --help output to compatibility with help2man #13879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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
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. |
| strUsage += "\nUsage:\n" | ||
| " bitcoin-cli [options] <command> [params] " + strprintf("Send command to %s", PACKAGE_NAME) + "\n" + | ||
| " bitcoin-cli [options] -named <command> [name=value] ... " + strprintf("Send command to %s (with named arguments)", PACKAGE_NAME) + "\n" + | ||
| " bitcoin-cli [options] -named <command> [name=value]... " + strprintf("Send command to %s (with named arguments)", PACKAGE_NAME) + "\n" + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the solution in #13872 is better for help2man.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
needs rebase (if still necessary) after #13872 |
| Needs rebase |
|
Pull request after rebase: #13905 |
Currently help2man produces some unexpected commands in the manual page file bitcoin-cli.1: