aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-06-05 14:10:52 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-06-05 17:59:19 +0200
commit95a65804096aee920fea608e87e2bb2b7a7bdfde (patch)
tree3666162ffdab6f83a387a3b21e6f3e8e7272a63f
parentd957ed4941d7f90eecc294490adee8055ab251f3 (diff)
user-agent.d: spell out what happens given a blank argument
Closes #5525
-rw-r--r--docs/cmdline-opts/user-agent.d4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/cmdline-opts/user-agent.d b/docs/cmdline-opts/user-agent.d
index de73f723f..c6dd2e584 100644
--- a/docs/cmdline-opts/user-agent.d
+++ b/docs/cmdline-opts/user-agent.d
@@ -9,4 +9,8 @@ Specify the User-Agent string to send to the HTTP server. To encode blanks in
the string, surround the string with single quote marks. This header can also
be set with the --header or the --proxy-header options.
+If you give an empty argument to --user-agent (""), it will remove the header
+completely from the request. If you prefer a blank header, you can set it to a
+single space (" ").
+
If this option is used several times, the last one will be used.