diff options
author | luigi1111 <luigi1111w@gmail.com> | 2018-05-31 14:44:54 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2018-05-31 14:44:54 -0500 |
commit | 503d2693fdd655b4a929bf6d1ca1ce07644e5041 (patch) | |
tree | 1f3c979357656f5c154acef69fb9d8fee7638fef /src/wallet/wallet_args.h | |
parent | Merge pull request #3635 (diff) | |
parent | wallet cli/rpc: terminate execution with code 0 when --help or --version is g... (diff) | |
download | monero-503d2693fdd655b4a929bf6d1ca1ce07644e5041.tar.xz |
Merge pull request #3640
f36132a wallet cli/rpc: terminate execution with code 0 when --help or --version is given (stoffu)
Diffstat (limited to 'src/wallet/wallet_args.h')
-rw-r--r-- | src/wallet/wallet_args.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/wallet/wallet_args.h b/src/wallet/wallet_args.h index af6685845..a1f251144 100644 --- a/src/wallet/wallet_args.h +++ b/src/wallet/wallet_args.h @@ -44,8 +44,11 @@ namespace wallet_args concurrency. Log file and concurrency arguments are handled, along with basic global init for the wallet process. - \return The list of parsed options, iff there are no errors.*/ - boost::optional<boost::program_options::variables_map> main( + \return + pair.first: The list of parsed options, iff there are no errors. + pair.second: Should the execution terminate succesfully without actually launching the application + */ + std::pair<boost::optional<boost::program_options::variables_map>, bool> main( int argc, char** argv, const char* const usage, const char* const notice, |