cmd/lncli: add flags to determine the macaroon for the active network
Co-Authored-By: Karl Ranna <karl@karlranna.com>
This commit is contained in:
parent
e1726ecb2f
commit
56504d2685
@ -182,6 +182,17 @@ func main() {
|
|||||||
Value: defaultTLSCertPath,
|
Value: defaultTLSCertPath,
|
||||||
Usage: "path to TLS certificate",
|
Usage: "path to TLS certificate",
|
||||||
},
|
},
|
||||||
|
cli.StringFlag{
|
||||||
|
Name: "chain, c",
|
||||||
|
Usage: "the chain lnd is running on e.g. bitcoin",
|
||||||
|
Value: "bitcoin",
|
||||||
|
},
|
||||||
|
cli.StringFlag{
|
||||||
|
Name: "network, n",
|
||||||
|
Usage: "the network lnd is running on e.g. mainnet, " +
|
||||||
|
"testnet, etc.",
|
||||||
|
Value: "mainnet",
|
||||||
|
},
|
||||||
cli.BoolFlag{
|
cli.BoolFlag{
|
||||||
Name: "no-macaroons",
|
Name: "no-macaroons",
|
||||||
Usage: "disable macaroon authentication",
|
Usage: "disable macaroon authentication",
|
||||||
|
Loading…
Reference in New Issue
Block a user