Skip to content
This repository has been archived by the owner on Dec 27, 2018. It is now read-only.

Commit

Permalink
fix #10: don't use -h parameter for host
Browse files Browse the repository at this point in the history
  • Loading branch information
ottosuess committed Dec 26, 2018
1 parent e66ffd5 commit 6d49c13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 6d49c13

Please sign in to comment.