summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorTaylor Braun-Jones <taylor@braun-jones.org>2019-01-09 18:02:47 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-28 13:24:50 (GMT)
commita5098cad94c152e397b258be69ae152eb1bda3df (patch)
tree75055f8a973456e38b65b4f6db9961858c66ddb5 /Help/manual
parent40628b2519ae1553a33f701cf46ee8fbbd013b85 (diff)
downloadCMake-a5098cad94c152e397b258be69ae152eb1bda3df.zip
CMake-a5098cad94c152e397b258be69ae152eb1bda3df.tar.gz
CMake-a5098cad94c152e397b258be69ae152eb1bda3df.tar.bz2
cmake: Add --ignore-eol option to `-E compare_files` command
Fixes: #13007
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake.1.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 915e0d4..eaf57a0 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -373,9 +373,10 @@ Available commands are:
``chdir <dir> <cmd> [<arg>...]``
Change the current working directory and run a command.
-``compare_files <file1> <file2>``
+``compare_files [--ignore-eol] <file1> <file2>``
Check if ``<file1>`` is same as ``<file2>``. If files are the same,
- then returns 0, if not it returns 1.
+ then returns 0, if not it returns 1. The ``--ignore-eol`` option
+ implies line-wise comparison and ignores LF/CRLF differences.
``copy <file>... <destination>``
Copy files to ``<destination>`` (either file or directory).