diff options
author | James Mills <prologic@shortcircuit.net.au> | 2017-06-26 01:54:33 -0700 |
---|---|---|
committer | James Mills <prologic@shortcircuit.net.au> | 2017-06-26 01:54:33 -0700 |
commit | 76f337705e6d766e5f4f3799505ede8ec4ad43c9 (patch) | |
tree | 138a642b62bfced91aa9f7966a3eeea4a71df615 /cmd | |
parent | Bump (diff) | |
download | gopherproxy-76f337705e6d766e5f4f3799505ede8ec4ad43c9.tar.gz gopherproxy-76f337705e6d766e5f4f3799505ede8ec4ad43c9.tar.bz2 gopherproxy-76f337705e6d766e5f4f3799505ede8ec4ad43c9.zip |
Set sensible defaults
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/gopherproxy/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/gopherproxy/main.go b/cmd/gopherproxy/main.go index bc5050e..fa20c4e 100644 --- a/cmd/gopherproxy/main.go +++ b/cmd/gopherproxy/main.go | |||
@@ -8,8 +8,8 @@ import ( | |||
8 | ) | 8 | ) |
9 | 9 | ||
10 | var ( | 10 | var ( |
11 | bind = flag.String("bind", ":80", "[int]:port to bind to") | 11 | bind = flag.String("bind", "0.0.0.0:80", "[int]:port to bind to") |
12 | uri = flag.String("uri", "127.0.0.1:70", "<host>:[port] to proxy to") | 12 | uri = flag.String("uri", "floodgap.com", "<host>:[port] to proxy to") |
13 | ) | 13 | ) |
14 | 14 | ||
15 | func main() { | 15 | func main() { |