openethereum/ethstore/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
tests Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
Cargo.toml Add test for ethstore-cli, fixes #8027 (#8187) 2018-03-28 22:04:08 +03:00