openethereum/ethkey/cli
Benjamin Kampmann 861d829420 Fix Cli Return Code on --help for ethkey, ethstore & whisper (#8863)
Docopt handles `--help` automatically for us, however we've handled those
Errors the same as all others: by exiting with Return Code `1`, which is wrong
for a totally appropriate a quit on `--help`. Fortunately `docopt:Error`
provides an `exit` helper function that discriminates properly between fatal
and non-fatal errors and exist appropriately.

This patch makes sure we use that handy function in case we encounter such an
error in the CLI of ethkey, ethstore and whisper. Thus those are now giving
the appropriate Return code on `--help`.

fixes #8851
2018-06-11 20:38:01 +02:00
..
src Fix Cli Return Code on --help for ethkey, ethstore & whisper (#8863) 2018-06-11 20:38:01 +02:00
Cargo.toml Moved panick_hook to util/panic_hook (#7629) 2018-01-20 20:28:25 +01:00