Format a string to be used as option description in help messages
Declared in <common/args.h>
std::string
HelpMessageOpt(
std::string_view option,
std::string_view help_param,
std::string_view message,
bool subopt = false);
the formatted string
| Name | Description |
|---|---|
| option | Option name (e.g. "-rpcuser") |
| help_param | Help parameter (e.g. "=<user>" or "") |
| message | Option description (e.g. "Username for JSON-RPC connections") |
| subopt | True if this is a suboption, instead of a top-level option. |