docs: document the behavior of -- in the curl command line

Closes #16053
This commit is contained in:
9cel 2025-01-20 06:35:42 -04:00 committed by Daniel Stenberg
parent 0f54bfd803
commit c5a736f2c9
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -24,6 +24,10 @@ When --next is used, it resets the parser state and you start again with a
clean option state, except for the options that are global. Global options
retain their values and meaning even after --next.
The first argument that is exactly two dashes (`--`), marks the end of
options; any argument after the end of options is interpreted as a URL
argument even if it starts with a dash.
The following options are global: `%GLOBALS`.
# ALL OPTIONS