bitcoin/bitcoin — pull request #803 by gavinandresen (2012-02-06 19:43:40+00:00)
Title: Command-line parsing changes, and no irc by default

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