HomePhabricator

Fix exit codes: - `--help`, `--version` etc should exit with `0` i.e. no error…

Description

Fix exit codes: - --help, --version etc should exit with 0 i.e. no error ("not enough args" case should still trigger an error) - error reading config file should exit with 1

Slightly refactor AppInitRPC/AppInitRawTx to return standard exit codes (EXIT_FAILURE/EXIT_SUCCESS) or CONTINUE_EXECUTION (-1)

Details

Provenance
UdjinM6 <UdjinM6@dash.org>Authored on Nov 2 2016, 18:59
deadalnixPushed on May 14 2017, 22:04
Parents
rABCa4fd8dff6836: Merge #8828: Move CWalletDB::ReorderTransactions to CWallet
Branches
Unknown
Tags
Unknown