Skip to content

Commit b43f159

Browse files
committed
clean main
1 parent 4b0f7c0 commit b43f159

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

cmd/src/main.go

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,22 @@ Usage:
2525
src [options] command [command options]
2626
2727
Environment variables
28-
SRC_ACCESS_TOKEN Sourcegraph access token
29-
SRC_ENDPOINT Endpoint to use, if unset will default to "https://sourcegraph.com"
30-
SRC_PROXY A proxy to use for proxying requests to the Sourcegraph endpoint.
31-
Supports HTTP(S), SOCKS5/5h, and UNIX Domain Socket proxies.
32-
If a UNIX Domain Socket, the path can be either an absolute path,
33-
or can start with ~/ or %USERPROFILE%\ for a path in the user's home directory.
34-
Examples:
35-
- https://localhost:3080
36-
- https://<user>:<password>localhost:8080
37-
- socks5h://localhost:1080
38-
- socks5://<username>:<password>@localhost:1080
39-
- unix://~/src-proxy.sock
40-
- unix://%USERPROFILE%\src-proxy.sock
41-
- ~/src-proxy.sock
42-
- %USERPROFILE%\src-proxy.sock
43-
- C:\some\path\src-proxy.sock
44-
SRC_MAX_REQUESTSIZE_MB Maximum request body size in MB for git operations (default: 10)
28+
SRC_ACCESS_TOKEN Sourcegraph access token
29+
SRC_ENDPOINT endpoint to use, if unset will default to "https://sourcegraph.com"
30+
SRC_PROXY A proxy to use for proxying requests to the Sourcegraph endpoint.
31+
Supports HTTP(S), SOCKS5/5h, and UNIX Domain Socket proxies.
32+
If a UNIX Domain Socket, the path can be either an absolute path,
33+
or can start with ~/ or %USERPROFILE%\ for a path in the user's home directory.
34+
Examples:
35+
- https://localhost:3080
36+
- https://<user>:<password>localhost:8080
37+
- socks5h://localhost:1080
38+
- socks5://<username>:<password>@localhost:1080
39+
- unix://~/src-proxy.sock
40+
- unix://%USERPROFILE%\src-proxy.sock
41+
- ~/src-proxy.sock
42+
- %USERPROFILE%\src-proxy.sock
43+
- C:\some\path\src-proxy.sock
4544
4645
The options are:
4746

0 commit comments

Comments
 (0)