diff options
author | Peter Würth <wuerth.peter@freenet.de> | 2022-02-01 18:30:05 (GMT) |
---|---|---|
committer | Peter Würth <wuerth.peter@freenet.de> | 2022-02-03 20:54:17 (GMT) |
commit | b10930040dc329f1d40ea5d2f8b5f4406eb6012b (patch) | |
tree | 06918f70d7ca18e33774a0dadcf56623b981c4d8 /Tests/RunCMake/CommandLine/E_cat-with-double-dash-stdout.txt | |
parent | 40107d308f6d7687edbe5e75a77a67b9cb9112aa (diff) | |
download | CMake-b10930040dc329f1d40ea5d2f8b5f4406eb6012b.zip CMake-b10930040dc329f1d40ea5d2f8b5f4406eb6012b.tar.gz CMake-b10930040dc329f1d40ea5d2f8b5f4406eb6012b.tar.bz2 |
cmcmd: add end of options delimiter to cmake -E commands
Implements a -- delimiter, that indicates the end of options (starting
with a dash -) of a command and separates them from the subsequent
operands (positional arguments).
The following commands are affected:
- env: Implemented the -- delimiter.
- cat: The -- delimiter was already kind of considered, but its
occurence did not stop the options parsing.
- rm: Here the command already implemented the -- delimiter as
specified, but it was not documented.
Fixes #22970
Diffstat (limited to 'Tests/RunCMake/CommandLine/E_cat-with-double-dash-stdout.txt')
-rw-r--r-- | Tests/RunCMake/CommandLine/E_cat-with-double-dash-stdout.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLine/E_cat-with-double-dash-stdout.txt b/Tests/RunCMake/CommandLine/E_cat-with-double-dash-stdout.txt new file mode 100644 index 0000000..e5939d0 --- /dev/null +++ b/Tests/RunCMake/CommandLine/E_cat-with-double-dash-stdout.txt @@ -0,0 +1 @@ +file starting with dash, not an option |