mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-12 11:19:08 -05:00
doc: improve doc for RPCArg::Optional::OMITTED
This commit is contained in:
parent
ea8c7daf7a
commit
83f70c8e86
1 changed files with 5 additions and 8 deletions
|
@ -154,14 +154,11 @@ struct RPCArg {
|
||||||
/** Required arg */
|
/** Required arg */
|
||||||
NO,
|
NO,
|
||||||
/**
|
/**
|
||||||
* The arg is optional for one of two reasons:
|
* Optional argument for which the default value is omitted from
|
||||||
*
|
* help text for one of two reasons:
|
||||||
* Optional arg that is a named argument and has a default value of
|
* - It's a named argument and has a default value of `null`.
|
||||||
* `null`.
|
* - Its default value is implicitly clear. That is, elements in an
|
||||||
*
|
* array may not exist by default.
|
||||||
* Optional argument with default value omitted because they are
|
|
||||||
* implicitly clear. That is, elements in an array may not
|
|
||||||
* exist by default.
|
|
||||||
* When possible, the default value should be specified.
|
* When possible, the default value should be specified.
|
||||||
*/
|
*/
|
||||||
OMITTED,
|
OMITTED,
|
||||||
|
|
Loading…
Add table
Reference in a new issue