summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLine/E_cat-with-double-dash-stdout.txt
diff options
context:
space:
mode:
authorPeter Würth <wuerth.peter@freenet.de>2022-02-01 18:30:05 (GMT)
committerPeter Würth <wuerth.peter@freenet.de>2022-02-03 20:54:17 (GMT)
commitb10930040dc329f1d40ea5d2f8b5f4406eb6012b (patch)
tree06918f70d7ca18e33774a0dadcf56623b981c4d8 /Tests/RunCMake/CommandLine/E_cat-with-double-dash-stdout.txt
parent40107d308f6d7687edbe5e75a77a67b9cb9112aa (diff)
downloadCMake-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.txt1
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