aboutsummaryrefslogtreecommitdiff
path: root/src/chainparamsbase.cpp
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2018-04-04 18:02:00 +1000
committerAnthony Towns <aj@erisian.com.au>2018-04-11 23:15:28 +1000
commit4d34fcc7138f0ffc831f0f8601c50cc7f494c197 (patch)
tree2d164195b5bfb5128be26ee4b8e18ef5acfe3274 /src/chainparamsbase.cpp
parent3673ca36ef84192b42d7e6acbdc8b5d2ffc7a0cf (diff)
downloadbitcoin-4d34fcc7138f0ffc831f0f8601c50cc7f494c197.tar.xz
ArgsManager: drop m_negated_args
When a -nofoo option is seen, instead of adding it to a separate set of negated args, set the arg as being an empty vector of strings. This changes the behaviour in some ways: - -nofoo=0 still sets foo=1 but no longer treats it as a negated arg - -nofoo=1 -foo=2 has GetArgs() return [2] rather than [2,0] - "foo=2 \n -nofoo=1" in a config file no longer returns [2,0], just [0] - GetArgs returns an empty vector for negated args
Diffstat (limited to 'src/chainparamsbase.cpp')
0 files changed, 0 insertions, 0 deletions