diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-11-17 14:11:02 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-11-17 15:11:50 +0100 |
commit | dcfef277b4920552f438c110390a5de93892a8de (patch) | |
tree | 8083a2d49b45dbd081862a8fd0fad7318cd07ecc /src/threadinterrupt.cpp | |
parent | 1f7695b4194bd1d3872c9e91ad9ee271670894ea (diff) |
cli: Reject arguments to -getinfo
Currently it's possible to accidentally type e.g.
bitcoin-cli -getinfo getbalance
and get an answer which can be confusing; the trialing arguments are
just ignored.
To avoid this, throw an error if the user provides arguments to
`-getinfo`.
Diffstat (limited to 'src/threadinterrupt.cpp')
0 files changed, 0 insertions, 0 deletions