diff options
author | Martin Polden <mpolden@mpolden.no> | 2020-09-05 12:40:26 +0300 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2020-09-05 12:41:18 +0300 |
commit | 0caa5873b9d2dd8e32e116fcc01ae52de5dba3c4 (patch) | |
tree | f5cf56fe292ada68a9f465de4eefb3f67d94619d /README.md | |
parent | 702c1f1e23f34d5aaff90ae6a13ea070d05c79ed (diff) |
cmd: Remove go-flags
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 33 |
1 files changed, 17 insertions, 16 deletions
@@ -111,20 +111,21 @@ Hub](https://hub.docker.com/r/mpolden/echoip), which can be downloaded with: ``` $ echoip -h -Usage: - echoip [OPTIONS] - -Application Options: - -f, --country-db=FILE Path to GeoIP country database - -c, --city-db=FILE Path to GeoIP city database - -a, --asn-db=FILE Path to GeoIP ASN database - -l, --listen=ADDR Listening address (default: :8080) - -r, --reverse-lookup Perform reverse hostname lookups - -p, --port-lookup Enable port lookup - -t, --template=FILE Path to template (default: index.html) - -H, --trusted-header=NAME Header to trust for remote IP, if present (e.g. X-Real-IP) - -C, --cache-size=SIZE Size of response cache. Set to 0 to disable - -Help Options: - -h, --help Show this help message +Usage of echoip: + -C int + Size of response cache. Set to 0 to disable + -H value + Header to trust for remote IP, if present (e.g. X-Real-IP) + -a string + Path to GeoIP ASN database + -c string + Path to GeoIP city database + -f string + Path to GeoIP country database + -l string + Listening address (default ":8080") + -p Enable port lookup + -r Perform reverse hostname lookups + -t string + Path to template (default "index.html") ``` |