aboutsummaryrefslogtreecommitdiff
path: root/src/test/allocator_tests.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-05-30 13:42:58 -0400
committerMarcoFalke <falke.marco@gmail.com>2018-05-30 13:43:07 -0400
commit61fcef0f89c4eb313b94a93880d7638b90aa0764 (patch)
tree2421d7c17febf8c273ee8bf0c07e3f5590775b45 /src/test/allocator_tests.cpp
parentc4cc8d9930ecb926d913075dd2aa2df65056a8ed (diff)
parent903055730b57ae7c8d12aca2e3fd0951f12f7e9c (diff)
Merge #13112: Throw an error for unknown args
903055730b Test gArgs erroring on unknown args (Andrew Chow) 4f8704d57f Give an error and exit if there are unknown parameters (Andrew Chow) 174f7c8080 Use a struct for arguments and nested map for categories (Andrew Chow) Pull request description: Following #13190, gArgs is aware of all of the command line arguments. This PR has gArgs check whether the arguments provided are actually valid arguments. When an unknown argument is encountered, an error is printed to stderr and the program exist. Since gArgs is used for everything that has command line arguments, `bitcoind`, `bitcoin-cli`, `bitcoin-qt`, `bitcoin-tx`, and `bench_bitcoin` are all effected by this change and all now have the same argument checking behavior. Closes #1044 Tree-SHA512: 388201319a7d6493204bb5433da47e8e6c8266882e809f6df45f86d925f1f320f2fd13edb3e57ffc6a37415dfdfc689f83929452bca224229783accb367032e7
Diffstat (limited to 'src/test/allocator_tests.cpp')
0 files changed, 0 insertions, 0 deletions