diff --git a/bind/flag.go b/bind/flag.go index 69b6bec7..8bf175ef 100644 --- a/bind/flag.go +++ b/bind/flag.go @@ -60,10 +60,10 @@ func PAC(fs *pflag.FlagSet, pac **url.URL) { "

"+ "Syntax:"+ "") } @@ -161,8 +161,8 @@ func DirectDomains(fs *pflag.FlagSet, cfg *[]ruleset.RegexpListItem) { const pathOrBase64Syntax = "

" + "Syntax:" + "" func MITMConfig(fs *pflag.FlagSet, mitm *bool, cfg *forwarder.MITMConfig) { diff --git a/docs/content/cli/forwarder_pac_eval.md b/docs/content/cli/forwarder_pac_eval.md index 4d91bc19..af07a68f 100644 --- a/docs/content/cli/forwarder_pac_eval.md +++ b/docs/content/cli/forwarder_pac_eval.md @@ -40,10 +40,10 @@ Proxy Auto-Configuration file to use for upstream proxy selection. Syntax: -- File: /path/to/file.pac -- URL: http://example.com/proxy.pac -- Embed: data:base64, -- Stdin: - +- File: `/path/to/file.pac` +- URL: `http://example.com/proxy.pac` +- Embed: `data:base64,` +- Stdin: `-` ## DNS options @@ -88,8 +88,8 @@ Use this flag multiple times to specify multiple CA certificate files. Syntax: -- File: /path/to/file.pac -- Embed: data:base64, +- File: `/path/to/file.pac` +- Embed: `data:base64,` ### `--http-dial-timeout` {#http-dial-timeout} diff --git a/docs/content/cli/forwarder_pac_server.md b/docs/content/cli/forwarder_pac_server.md index c775892a..46732fd8 100644 --- a/docs/content/cli/forwarder_pac_server.md +++ b/docs/content/cli/forwarder_pac_server.md @@ -90,8 +90,8 @@ TLS certificate to use if the server protocol is https or h2. Syntax: -- File: /path/to/file.pac -- Embed: data:base64, +- File: `/path/to/file.pac` +- Embed: `data:base64,` ### `--tls-handshake-timeout` {#tls-handshake-timeout} @@ -112,8 +112,8 @@ TLS private key to use if the server protocol is https or h2. Syntax: -- File: /path/to/file.pac -- Embed: data:base64, +- File: `/path/to/file.pac` +- Embed: `data:base64,` ## Proxy options @@ -128,10 +128,10 @@ Proxy Auto-Configuration file to use for upstream proxy selection. Syntax: -- File: /path/to/file.pac -- URL: http://example.com/proxy.pac -- Embed: data:base64, -- Stdin: - +- File: `/path/to/file.pac` +- URL: `http://example.com/proxy.pac` +- Embed: `data:base64,` +- Stdin: `-` ## DNS options @@ -176,8 +176,8 @@ Use this flag multiple times to specify multiple CA certificate files. Syntax: -- File: /path/to/file.pac -- Embed: data:base64, +- File: `/path/to/file.pac` +- Embed: `data:base64,` ### `--http-dial-timeout` {#http-dial-timeout} diff --git a/docs/content/cli/forwarder_run.md b/docs/content/cli/forwarder_run.md index ae0b0ec2..922ce64e 100644 --- a/docs/content/cli/forwarder_run.md +++ b/docs/content/cli/forwarder_run.md @@ -115,8 +115,8 @@ TLS certificate to use if the server protocol is https or h2. Syntax: -- File: /path/to/file.pac -- Embed: data:base64, +- File: `/path/to/file.pac` +- Embed: `data:base64,` ### `--tls-handshake-timeout` {#tls-handshake-timeout} @@ -137,8 +137,8 @@ TLS private key to use if the server protocol is https or h2. Syntax: -- File: /path/to/file.pac -- Embed: data:base64, +- File: `/path/to/file.pac` +- Embed: `data:base64,` ### `--write-limit` {#write-limit} @@ -200,10 +200,10 @@ Proxy Auto-Configuration file to use for upstream proxy selection. Syntax: -- File: /path/to/file.pac -- URL: http://example.com/proxy.pac -- Embed: data:base64, -- Stdin: - +- File: `/path/to/file.pac` +- URL: `http://example.com/proxy.pac` +- Embed: `data:base64,` +- Stdin: `-` ### `-x, --proxy` {#proxy} @@ -271,8 +271,8 @@ See the documentation for the --mitm flag for more details. Syntax: -- File: /path/to/file.pac -- Embed: data:base64, +- File: `/path/to/file.pac` +- Embed: `data:base64,` ### `--mitm-cakey-file` {#mitm-cakey-file} @@ -348,8 +348,8 @@ Use this flag multiple times to specify multiple CA certificate files. Syntax: -- File: /path/to/file.pac -- Embed: data:base64, +- File: `/path/to/file.pac` +- Embed: `data:base64,` ### `--http-dial-timeout` {#http-dial-timeout} diff --git a/docs/content/cli/forwarder_test_grpc.md b/docs/content/cli/forwarder_test_grpc.md index e18e6fa4..dcc59faf 100644 --- a/docs/content/cli/forwarder_test_grpc.md +++ b/docs/content/cli/forwarder_test_grpc.md @@ -43,8 +43,8 @@ TLS certificate to use if the server protocol is https or h2. Syntax: -- File: /path/to/file.pac -- Embed: data:base64, +- File: `/path/to/file.pac` +- Embed: `data:base64,` ### `--tls-handshake-timeout` {#tls-handshake-timeout} @@ -65,8 +65,8 @@ TLS private key to use if the server protocol is https or h2. Syntax: -- File: /path/to/file.pac -- Embed: data:base64, +- File: `/path/to/file.pac` +- Embed: `data:base64,` ## Logging options diff --git a/docs/content/cli/forwarder_test_httpbin.md b/docs/content/cli/forwarder_test_httpbin.md index 488a06cd..1632579f 100644 --- a/docs/content/cli/forwarder_test_httpbin.md +++ b/docs/content/cli/forwarder_test_httpbin.md @@ -66,8 +66,8 @@ TLS certificate to use if the server protocol is https or h2. Syntax: -- File: /path/to/file.pac -- Embed: data:base64, +- File: `/path/to/file.pac` +- Embed: `data:base64,` ### `--tls-handshake-timeout` {#tls-handshake-timeout} @@ -88,8 +88,8 @@ TLS private key to use if the server protocol is https or h2. Syntax: -- File: /path/to/file.pac -- Embed: data:base64, +- File: `/path/to/file.pac` +- Embed: `data:base64,` ## API server options