Branch: refs/heads/master
Home: https://github.com/conformal/btcd
Commit: 9fb17c3a6dc40dd172f91560d0398a47fa944fc5
https://github.com/conformal/btcd/commit/9fb17c3a6dc40dd172f91560d0398a47fa944fc5
Author: Dave Collins <[email protected]>
Date: 2013-11-14 (Thu, 14 Nov 2013)
Changed paths:
M config.go
Log Message:
-----------
Improve usage display a little.
This commit makes use of the new default-mask go-flags option in
conjunction with delaying the usage display until after the config file is
parsed. This has a couple of nice properties such as showing the actual
values that will be used as loaded from the specific config file instead
of the defaults specified in btcd itself, and also allows any config file
parsing errors to be shown prior to displaying the usage.