diff options
author | MacroFake <falke.marco@gmail.com> | 2022-09-20 09:52:51 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-09-20 09:54:04 +0200 |
commit | d76a423809372f30445b6d2249ad3b4a7bd79a43 (patch) | |
tree | 6fd91b7f2026a596d98a860982433225cc41ec5a /src/wallet | |
parent | 0b02ce914e8594e8938e527c91c07f57def4e943 (diff) | |
parent | fa2b8ae0a225fa45f43b32058aeb5856a1028bf0 (diff) | |
download | bitcoin-d76a423809372f30445b6d2249ad3b4a7bd79a43.tar.xz |
Merge bitcoin/bitcoin#26067: util: improve bitcoin-wallet exit codes
fa2b8ae0a225fa45f43b32058aeb5856a1028bf0 util: improve bitcoin-wallet exit codes (MacroFake)
Pull request description:
Refactors `bitcoin-wallet` so that it doesn't return a non-zero exit code by default, and makes the option handling more inline with the other binaries. i.e outputting `Error: too few parameters` if you don't pass any options.
Fixing this means we can check the process output in `gen-manpages.py`; which addresses the remaining [review comment](https://github.com/bitcoin/bitcoin/pull/24263#discussion_r806126705) from #24263.
Top commit has no ACKs.
Tree-SHA512: 80bd8098faefb4401ca1e4d49937ef6c960cf60ce0e7fb9dc38904fbc2fd92e319ec04570381da84943b7477845bf6be00e977f4c0451b247a6698662ce8f1bf
Diffstat (limited to 'src/wallet')
0 files changed, 0 insertions, 0 deletions