Browse Source

fix #10: don't use -h parameter for host

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

2
README.md

@ -21,7 +21,7 @@ zapconnect
```
-i, --localip Include local ip in QRCode
-l, --localhost Use 127.0.0.1 for ip
-h, --host= Use specific host name
--host= Use specific host name
-p, --port= Use this port (default: 10009)
-o, --image Output QRCode to file
--invoice Use invoice macaroon

2
config.go

@ -45,7 +45,7 @@ type chainConfig struct {
type zapConnectConfig struct {
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"`
Host string `short:"h" long:"host" description:"Use specific host name"`
Host string `long:"host" description:"Use specific host name"`
Port uint16 `short:"p" long:"port" description:"Use this port"`
Json bool `short:"j" long:"json" description:"Generate json instead of a QRCode"`
Image bool `short:"o" long:"image" description:"Output QRCode to file"`

Loading…
Cancel
Save