From d301f200e222f6768eef263045394315104f9aef Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 14 Oct 2016 06:45:41 +0200 Subject: [PATCH] Improve docs for netrc-file setting --- doc/help/settings.asciidoc | 4 ++-- qutebrowser/config/configdata.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc index 8b1803fb2..d738a68ca 100644 --- a/doc/help/settings.asciidoc +++ b/doc/help/settings.asciidoc @@ -69,7 +69,7 @@ |<>|Whether to validate SSL handshakes. |<>|Whether to try to pre-fetch DNS entries to speed up browsing. |<>|Set custom headers for qutebrowser HTTP requests. -|<>|Set location of netrc-file for HTTP authentication. +|<>|Set location of a netrc-file for HTTP authentication. If empty, ~/.netrc is used. |============== .Quick reference for section ``completion'' @@ -811,7 +811,7 @@ Default: empty [[network-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 diff --git a/qutebrowser/config/configdata.py b/qutebrowser/config/configdata.py index e503c3e45..ea3939a44 100644 --- a/qutebrowser/config/configdata.py +++ b/qutebrowser/config/configdata.py @@ -440,7 +440,8 @@ def data(readonly=False): ('netrc-file', 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 )),