summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-11-10 00:00:41 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-11-10 00:00:41 +0100
commit2e3b45bb1606514f791fc758e6a8648013c4cc70 (patch)
tree4acc14b32fc1226767c9c35433e6528f665292b6
parent0140692c098f3542ca5c5346a7e979f45b7df650 (diff)
add ref to MENSHEN_API in help
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index a0da1da..3a9a0f2 100644
--- a/main.go
+++ b/main.go
@@ -220,7 +220,7 @@ func main() {
var port = flag.Int("port", 9001, "port where the service listens on")
var metricsPort = flag.Int("metricsPort", 9002, "port where the metrics server listens on")
var dbpath = flag.String("geodb", "/var/lib/GeoIP/GeoLite2-City.mmdb", "path to the GeoLite2-City database")
- var api = flag.String("api", "", "API to fetch eip-service.json from (default: black.riseup.net)")
+ var api = flag.String("api", "", "API to fetch eip-service.json from (default: black.riseup.net). MENSHEN_API environment variable can be setup instead.")
var notls = flag.Bool("notls", false, "disable TLS on the service")
var key = flag.String("server_key", "", "path to the key file for TLS")
var crt = flag.String("server_crt", "", "path to the cert file for TLS")