Improve docs for netrc-file setting

This commit is contained in:
Florian Bruhin 2016-10-14 06:45:41 +02:00
parent 26b6688b61
commit d301f200e2
2 changed files with 4 additions and 3 deletions

View File

@ -69,7 +69,7 @@
|<<network-ssl-strict,ssl-strict>>|Whether to validate SSL handshakes. |<<network-ssl-strict,ssl-strict>>|Whether to validate SSL handshakes.
|<<network-dns-prefetch,dns-prefetch>>|Whether to try to pre-fetch DNS entries to speed up browsing. |<<network-dns-prefetch,dns-prefetch>>|Whether to try to pre-fetch DNS entries to speed up browsing.
|<<network-custom-headers,custom-headers>>|Set custom headers for qutebrowser HTTP requests. |<<network-custom-headers,custom-headers>>|Set custom headers for qutebrowser HTTP requests.
|<<network-netrc-file,netrc-file>>|Set location of netrc-file for HTTP authentication. |<<network-netrc-file,netrc-file>>|Set location of a netrc-file for HTTP authentication. If empty, ~/.netrc is used.
|============== |==============
.Quick reference for section ``completion'' .Quick reference for section ``completion''
@ -811,7 +811,7 @@ Default: empty
[[network-netrc-file]] [[network-netrc-file]]
=== netrc-file === netrc-file
Set location of netrc-file for HTTP authentication. Set location of a netrc-file for HTTP authentication. If empty, ~/.netrc is used.
Default: empty Default: empty

View File

@ -440,7 +440,8 @@ def data(readonly=False):
('netrc-file', ('netrc-file',
SettingValue(typ.File(none_ok=True), ''), SettingValue(typ.File(none_ok=True), ''),
"Set location of netrc-file for HTTP authentication."), "Set location of a netrc-file for HTTP authentication. If empty, "
"~/.netrc is used."),
readonly=readonly readonly=readonly
)), )),