diff options
author | Brad King <brad.king@kitware.com> | 2020-06-16 13:09:17 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-06-16 13:09:32 (GMT) |
commit | 158c6511e05c163cb28c07566cca45aeae03ccbf (patch) | |
tree | 82a2ec3ae517324ad006050f343f9aaf52af7ffe /Help | |
parent | b065d25821e5a5a6e4098af12f9fe5c310775681 (diff) | |
parent | b5b60755228e3b1489d5cd43622c08d0d8d77bc9 (diff) | |
download | CMake-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.rst | 3 |
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>`` |