Browse Source

doc: update readme

make_cert_optional
Otto Suess 6 years ago
parent
commit
a317fc028b
No known key found for this signature in database GPG Key ID: F7EFC44C2C240A11
  1. 1
      README.md
  2. 6
      config.go

1
README.md

@ -24,6 +24,7 @@ lndconnect
-i, --localip Include local ip in QRCode -i, --localip Include local ip in QRCode
-l, --localhost Use 127.0.0.1 for ip -l, --localhost Use 127.0.0.1 for ip
--host= Use specific host name --host= Use specific host name
--nocert Don't include the certificate
-p, --port= Use this port (default: 10009) -p, --port= Use this port (default: 10009)
-j, --url Display url instead of a QRCode -j, --url Display url instead of a QRCode
-o, --image Output QRCode to file -o, --image Output QRCode to file

6
config.go

@ -48,12 +48,12 @@ type lndConnectConfig struct {
LocalIp bool `short:"i" long:"localip" description:"Include local ip in QRCode"` LocalIp bool `short:"i" long:"localip" description:"Include local ip in QRCode"`
Localhost bool `short:"l" long:"localhost" description:"Use 127.0.0.1 for ip"` Localhost bool `short:"l" long:"localhost" description:"Use 127.0.0.1 for ip"`
Host string `long:"host" description:"Use specific host name"` Host string `long:"host" description:"Use specific host name"`
NoCert bool `long:"nocert" description:"don't include the certificate"` NoCert bool `long:"nocert" description:"Don't include the certificate"`
Port uint16 `short:"p" long:"port" description:"Use this port"` Port uint16 `short:"p" long:"port" description:"Use this port"`
Url bool `short:"j" long:"url" description:"Display url instead of a QRCode"` Url bool `short:"j" long:"url" description:"Display url instead of a QRCode"`
Image bool `short:"o" long:"image" description:"Output QRCode to file"` Image bool `short:"o" long:"image" description:"Output QRCode to file"`
Invoice bool `long:"invoice" description:"use invoice macaroon"` Invoice bool `long:"invoice" description:"Use invoice macaroon"`
Readonly bool `long:"readonly" description:"use readonly macaroon"` Readonly bool `long:"readonly" description:"Use readonly macaroon"`
Query arrayFlags `short:"q" long:"query" description:"Add additional url query parameters"` Query arrayFlags `short:"q" long:"query" description:"Add additional url query parameters"`
} }

Loading…
Cancel
Save