aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-03-23 18:45:03 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-03-23 18:45:03 +0100
commit8941d819d53de276d56925877165310e9afd6648 (patch)
tree632d46089704e516cf514de8fe6b7c1389e22fee
parent145d6502bfa01867d7ccd03056953fb580c711bc (diff)
Shorten args
-rw-r--r--goxyctl/main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/goxyctl/main.go b/goxyctl/main.go
index 824f892..39f8c6d 100644
--- a/goxyctl/main.go
+++ b/goxyctl/main.go
@@ -11,10 +11,10 @@ import (
var (
rpcserver = flag.String("server", ":http-alt", "RPC Server port")
- servername = flag.String("servername", "", "from")
+ servername = flag.String("host", "", "from")
upstream = flag.String("upstream", "", "to")
- keyfile = flag.String("keyfile", "", "TLS Key file")
- crtfile = flag.String("crtfile", "", "TLC Crt file")
+ keyfile = flag.String("key", "", "TLS Key file")
+ crtfile = flag.String("cert", "", "TLS Cert file")
remove = flag.Bool("remove", false, "remove entry")
)