Mask the password from btcctl usage.
This commit is contained in:
parent
02e6d47590
commit
d18c34a628
1 changed files with 1 additions and 1 deletions
|
@ -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!)"`
|
||||||
|
|
Loading…
Reference in a new issue