Minor improvements to help messages

This commit is contained in:
Oliver Blanthorn 2022-05-06 12:22:53 +02:00
parent bf85ed783e
commit a37a2a06af
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3
2 changed files with 3 additions and 3 deletions

View file

@ -4065,7 +4065,7 @@ export function autocontain(...args: string[]) {
return config.set("autocontain", pattern, proxies.length ? [container, proxies.join(",")].join("+") : container)
}
/** Add a proxy.
/** Add a proxy for use with [[autocontain]] or `:set proxy`
@param name The name of the proxy you want to set
@ -4076,7 +4076,7 @@ export function autocontain(...args: string[]) {
- `proxyadd kyoto socks://10.0.100.10:1080?proxyDNS=false`
- `proxyadd alice socks4://10.0.100.10:3128`
Theses proxy settings are used by autocontainers. See [[autocontain]]
These proxy settings are used by autocontainers. See [[autocontain]]
*/
//#background
export function proxyadd(name: string, url: string) {

View file

@ -544,7 +544,7 @@ export class default_config {
})
/**
* Default proxy to use for all URLs. Has to be the name of a proxy. To add a proxy, see `:help proxyadd`.
* Default proxy to use for all URLs. Has to be the name of a proxy. To add a proxy, see `:help proxyadd`. NB: usage with `:seturl` is buggy, use `:autocontain -s [regex to match URL] none [proxy]` instead
*/
proxy = ""