summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorm.klimenko <mklimenko29@gmail.com>2022-02-15 18:44:53 (GMT)
committerm.klimenko <mklimenko29@gmail.com>2022-02-15 19:08:06 (GMT)
commit231872ddb0bb86a039e78e0b2f10d354a71938b2 (patch)
tree304afa5ef2f7721facbe92235d625e21017b0490 /Help/command
parentf76809c892743de8a59dbcbdd88adb393c045169 (diff)
downloadCMake-231872ddb0bb86a039e78e0b2f10d354a71938b2.zip
CMake-231872ddb0bb86a039e78e0b2f10d354a71938b2.tar.gz
CMake-231872ddb0bb86a039e78e0b2f10d354a71938b2.tar.bz2
file(DOWNLOAD): Add options to download a range
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/file.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst
index 799b6ff..2769577 100644
--- a/Help/command/file.rst
+++ b/Help/command/file.rst
@@ -1128,6 +1128,18 @@ Additional options to ``DOWNLOAD`` are:
Historical short-hand for ``EXPECTED_HASH MD5=<value>``. It is an error to
specify this if ``DOWNLOAD`` is not given a ``<file>``.
+``RANGE_START <value>``
+ .. versionadded:: 3.24
+
+ Offset of the start of the range in file in bytes. Could be omitted to
+ download up to the specified ``RANGE_END``.
+
+``RANGE_END <value>``
+ .. versionadded:: 3.24
+
+ Offset of the end of the range in file in bytes. Could be omitted to
+ download everything from the specified ``RANGE_START`` to the end of file.
+
Locking
^^^^^^^