aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorxiehuc2018-02-01 18:11:29 +0800
committerxiehuc2018-02-01 18:11:29 +0800
commit3e6adb7e33110f8f620bb387ce5884dba56783ad (patch)
treee23938b4d0cef988825f7ecc721a2f08236cd725 /docs
parenta21438735878dc76fed5f967dfe3b2ea5b7b6969 (diff)
downloadbrew-3e6adb7e33110f8f620bb387ce5884dba56783ad.tar.bz2
update all_proxy and man pages #3751
Diffstat (limited to 'docs')
-rw-r--r--docs/Manpage.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/Manpage.md b/docs/Manpage.md
index cd3f87452..6229a0a01 100644
--- a/docs/Manpage.md
+++ b/docs/Manpage.md
@@ -1062,6 +1062,10 @@ can take several different forms:
Sets the HTTPS proxy to be used by `curl`, `git` and `svn` when downloading
through Homebrew.
+ * `all_proxy`:
+ Sets the SOCKS5 proxy to be used by `curl`, `git` and `svn` when downloading
+ through Homebrew.
+
* `ftp_proxy`:
Sets the FTP proxy to be used by `curl`, `git` and `svn` when downloading
through Homebrew.
@@ -1071,12 +1075,14 @@ can take several different forms:
by `curl`, `git` and `svn` when downloading through Homebrew.
## USING HOMEBREW BEHIND A PROXY
-Use the `http_proxy`, `https_proxy`, `no_proxy` and/or `ftp_proxy` documented above.
+Use the `http_proxy`, `https_proxy`, `all_proxy`, `no_proxy` and/or `ftp_proxy` documented above.
-For example for an unauthenticated HTTP proxy:
+For example for an unauthenticated HTTP or SOCKS5 proxy:
export http_proxy=http://`host`:`port`
+ export all_proxy=socks5://`host`:`port`
+
And for an authenticated HTTP proxy:
export http_proxy=http://`user`:`password`@`host`:`port`