HomePhabricator

Fix argument parsing oddity with -noX
c38c49d0b708Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Fix argument parsing oddity with -noX

bitcoind -X -noX ends up, unintuitively, with X set.
(for all boolean options X)

This result is due to the odd two-pass processing of arguments. This
patch fixes this oddity and simplifies the code at the same time.

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Jun 15 2015, 15:17
deadalnixPushed on May 14 2017, 22:04
Parents
rABCca37e0f33980: Merge pull request #5697
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rABCc38c49d0b708: Fix argument parsing oddity with -noX (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Jul 27 2015, 12:47