]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
_ENVIRONMENT.md: document NETRC
authorDaniel Stenberg <daniel@haxx.se>
Mon, 8 Sep 2025 15:10:18 +0000 (17:10 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 8 Sep 2025 20:45:30 +0000 (22:45 +0200)
Follow-up to 378713deb2cf5137c7cffe6227d9d5

Closes #18497

docs/cmdline-opts/_ENVIRONMENT.md

index 9562c630a1acd497273c36e554aeb486f98246b5..53fe5c34212f2f3f829c380168bbb6a29c3c7518 100644 (file)
@@ -48,7 +48,7 @@ number specifies the number of "network bits" out of the address to use in the
 comparison (added in 7.86.0). For example "192.168.0.0/16" would match all
 addresses starting with "192.168".
 
-## `APPDATA <dir>`
+## `APPDATA <directory>`
 On Windows, this variable is used when trying to find the home directory. If
 the primary home variables are all unset.
 
@@ -61,7 +61,7 @@ using other ways.
 If set, it is used as the --cacert value. This environment variable is ignored
 if Schannel is used as the TLS backend.
 
-## `CURL_HOME <dir>`
+## `CURL_HOME <directory>`
 If set, is the first variable curl checks when trying to find its home
 directory. If not set, it continues to check *XDG_CONFIG_HOME*
 
@@ -80,6 +80,11 @@ If set, this is used to find the home directory when that is needed. Like when
 looking for the default .curlrc. *CURL_HOME* and *XDG_CONFIG_HOME*
 have preference.
 
+## `NETRC <path>`
+If set, this is used to find the `.netrc` file. It overrides all other netrc
+file location mechanisms and should be set to the full file path.
+(Added in curl 8.16.0)
+
 ## `QLOGDIR <directory>`
 If curl was built with HTTP/3 support, setting this environment variable to a
 local directory makes curl produce **qlogs** in that directory, using file