diff --git a/README.md b/README.md index 4cdc2b4..59ad10a 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ No `lnd` needed, but seed will be in `lnd`-specific [`aezeed` format](https://gi ### init-wallet `init-wallet` has two modes: -- `--init-type=file` creates an `lnd` specific `wallet.db` file +- `--init-type=file` (the default) creates an `lnd` specific `wallet.db` file - Only works if `lnd` is NOT running yet - `--init-type=rpc` calls the `lnd` RPC to create a wallet - Use this mode if you are using a remote database as `lnd`'s storage backend instead of bolt DB based file databases diff --git a/cmd_init_wallet.go b/cmd_init_wallet.go index 1965445..03ead6a 100644 --- a/cmd_init_wallet.go +++ b/cmd_init_wallet.go @@ -69,7 +69,7 @@ type initWalletCommand struct { SecretSource string `long:"secret-source" description:"Where to read the secrets from to initialize the wallet with" choice:"file" choice:"k8s"` File *secretSourceFile `group:"Flags for reading the secrets from files (use when --secret-source=file)" namespace:"file"` K8s *secretSourceK8s `group:"Flags for reading the secrets from Kubernetes (use when --secret-source=k8s)" namespace:"k8s"` - InitType string `long:"init-type" description:"How to initialize the wallet" choice:"file" choice:"rpc"` + InitType string `long:"init-type" description:"How to initialize the wallet" choice:"file" (default) choice:"rpc"` InitFile *initTypeFile `group:"Flags for initializing the wallet as a file (use when --init-type=file)" namespace:"init-file"` InitRpc *initTypeRpc `group:"Flags for initializing the wallet through RPC (use when --init-type=rpc)" namespace:"init-rpc"` }