diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-11-22 14:56:29 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-01-10 12:04:54 +0100 |
commit | 481f289765fab47ff2e0bd7dfb968f2bd92fd608 (patch) | |
tree | d7ad238c4842bc4fa6c9a05ae8aef395029d1835 /build-aux/m4/ax_boost_program_options.m4 | |
parent | 9adb4e1a59d54788e204895aaff5d6cbefd1b97a (diff) |
rpc: Named argument support for bitcoin-cli
Usage e.g.:
$ src/bitcoin-cli -testnet -named echo arg0="dfdf"
[
"dfdf"
]
Argument conversion also works, for arguments thus flagged in the table in
`src/rpc/client.cpp`.
$ src/bitcoin-cli -testnet -named echojson arg0="[1,2,3]"
[
[
1,
2,
3
]
]
Unknown parameter (detected server-side):
$ src/bitcoin-cli -testnet -named getinfo arg0="dfdf"
error code: -8
error message:
Unknown named parameter arg0
Diffstat (limited to 'build-aux/m4/ax_boost_program_options.m4')
0 files changed, 0 insertions, 0 deletions