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 from #24263.