diff --git a/README.md b/README.md index 97e0a61..a1e4887 100644 --- a/README.md +++ b/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 diff --git a/config.go b/config.go index ca9dbb0..ac2f27d 100644 --- a/config.go +++ b/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"`