Skip to content

Commit

Permalink
docs: document the behavior of -- in the curl command line
Browse files Browse the repository at this point in the history
Closes curl#16053
  • Loading branch information
9cel authored and bagder committed Jan 20, 2025
1 parent 0f54bfd commit c5a736f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/cmdline-opts/_OPTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c5a736f

Please sign in to comment.