diff options
author | Asit Dhal <dhal.asitk@gmail.com> | 2020-06-12 02:59:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-06-15 16:39:37 (GMT) |
commit | b5b60755228e3b1489d5cd43622c08d0d8d77bc9 (patch) | |
tree | 1c9b1df401df457c0db676bf1d90c98111fe85db /Help | |
parent | 43b10e2411858ae7734c54480a8c0c6c3ccd659b (diff) | |
download | CMake-b5b60755228e3b1489d5cd43622c08d0d8d77bc9.zip CMake-b5b60755228e3b1489d5cd43622c08d0d8d77bc9.tar.gz CMake-b5b60755228e3b1489d5cd43622c08d0d8d77bc9.tar.bz2 |
cmake: add dedicated error for -E compare_files invalid arguments
Return 2 when user provides invalid arguments
Fixes: #20815
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>`` |