summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-06-16 13:09:17 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-06-16 13:09:32 (GMT)
commit158c6511e05c163cb28c07566cca45aeae03ccbf (patch)
tree82a2ec3ae517324ad006050f343f9aaf52af7ffe /Help
parentb065d25821e5a5a6e4098af12f9fe5c310775681 (diff)
parentb5b60755228e3b1489d5cd43622c08d0d8d77bc9 (diff)
downloadCMake-158c6511e05c163cb28c07566cca45aeae03ccbf.zip
CMake-158c6511e05c163cb28c07566cca45aeae03ccbf.tar.gz
CMake-158c6511e05c163cb28c07566cca45aeae03ccbf.tar.bz2
Merge topic 'cmake-E-compare_files-exit-code'
b5b6075522 cmake: add dedicated error for -E compare_files invalid arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4881
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake.1.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 9becfc6..e4c662e 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -566,7 +566,8 @@ Available commands are:
``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``. The ``--ignore-eol`` option
+ then returns ``0``, if not it returns ``1``. In case of invalid
+ arguments, it retruns 2. The ``--ignore-eol`` option
implies line-wise comparison and ignores LF/CRLF differences.
``copy <file>... <destination>``