Mask the password from btcctl usage.

This commit is contained in:
Dave Collins 2013-11-19 16:25:18 -06:00
parent 02e6d47590
commit d18c34a628

View file

@ -21,7 +21,7 @@ var (
type config struct { type config struct {
ConfigFile string `short:"C" long:"configfile" description:"Path to configuration file"` ConfigFile string `short:"C" long:"configfile" description:"Path to configuration file"`
RpcUser string `short:"u" long:"rpcuser" description:"RPC username"` RpcUser string `short:"u" long:"rpcuser" description:"RPC username"`
RpcPassword string `short:"P" long:"rpcpass" description:"RPC password"` RpcPassword string `short:"P" long:"rpcpass" default-mask:"-" description:"RPC password"`
RpcServer string `short:"s" long:"rpcserver" description:"RPC server to connect to"` RpcServer string `short:"s" long:"rpcserver" description:"RPC server to connect to"`
RpcCert string `short:"c" long:"rpccert" description:"RPC server certificate chain for validation"` RpcCert string `short:"c" long:"rpccert" description:"RPC server certificate chain for validation"`
TlsSkipVerify bool `long:"skipverify" description:"Do not verify tls certificates (not recommended!)"` TlsSkipVerify bool `long:"skipverify" description:"Do not verify tls certificates (not recommended!)"`