a5e841c6b7
This commit replaces the debug Config struct with an empty one, so that the command line flags are hidden in production builds. Production help before commit: Tor: --tor.active --tor.socks= --tor.dns= --tor.streamisolation --tor.control= --tor.v2 --tor.v2privatekeypath= --tor.v3 hodl: --hodl.exit-settle --hodl.add-incoming --hodl.settle-incoming --hodl.fail-incoming --hodl.add-outgoing --hodl.settle-outgoing --hodl.fail-outgoing --hodl.commit --hodl.bogus-settle Help Options: -h, --help Production help after commit: Tor: --tor.active --tor.socks= --tor.dns= --tor.streamisolation --tor.control= --tor.v2 --tor.v2privatekeypath= --tor.v3 Help Options: -h, --help |
||
---|---|---|
.. | ||
config_debug.go | ||
config_production.go | ||
flags.go | ||
mask_debug.go | ||
mask_production.go | ||
mask_test.go |