]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
config.d: Clarify _curlrc filename is still valid on Windows
authorJay Satiro <raysatiro@yahoo.com>
Thu, 3 Feb 2022 22:07:53 +0000 (17:07 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Fri, 4 Feb 2022 08:46:26 +0000 (03:46 -0500)
Recent changes added support for filename .curlrc on Windows, and
when it's not found curl falls back on the original Windows filename
_curlrc. _curlrc was removed from the doc, however it is still valid.

Closes https://github.com/curl/curl/pull/8382

docs/cmdline-opts/config.d

index b24a87e1cf372d14d8fefc4e92580ecbeef360ec..96bb81ac3ed63491c6d767dcdb2b31b373048b1e 100644 (file)
@@ -64,9 +64,12 @@ config file is checked for in the following places in this order:
 
 6) Windows: "%USERPROFILE%\\Application Data\\.curlrc"
 
-7) Non-windows: use getpwuid to find the home directory
+7) Non-Windows: use getpwuid to find the home directory
 
-8) On windows, if it finds no .curlrc file in the sequence described above, it
+8) On Windows, if it finds no .curlrc file in the sequence described above, it
 checks for one in the same dir the curl executable is placed.
 
+On Windows two filenames are checked per location: .curlrc and _curlrc,
+preferring the former. Older versions on Windows checked for _curlrc only.
+
 This option can be used multiple times to load multiple config files.