I decided I’d typed “./bitcoind –nolisten” enough times to make command-line parsing work the way I think it should.
Changes are:
- Unit tests for the GetArg() methods
- –foo=… is automatically interpreted as -foo=… (so you can use double-dashes if you like for all args)
- Boolean arguments can be specified as either -foo (true) or -nofoo (false).
- Internally, all boolean args are looked up using the positive form and default value (e.g. GetBoolArg("-dnsseed", true))
- Tweaked the –help text
- Default for -irc to bootstrap via IRC channel was changed from true to false