Merge topic 'Help-file-ARCHIVE_EXTRACT-mention-working-dir'

189d28d77d Help/file: mention the working directory for `ARCHIVE_EXTRACT`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9291
This commit is contained in:
Brad King 2024-02-27 14:11:36 +00:00 committed by Kitware Robot
commit 70293ec345

View File

@ -1254,6 +1254,13 @@ Archiving
``LIST_ONLY`` will list the files in the archive rather than extract them.
.. note::
The working directory for this subcommand is the ``DESTINATION`` directory
(provided or computed) except when ``LIST_ONLY`` is specified. Therefore,
outside of script mode, it may be best to provide absolute paths to
``INPUT`` archives as they are unlikely to be extracted where a relative
path works.
.. versionadded:: 3.24
The ``TOUCH`` option gives extracted files a current local
timestamp instead of extracting file timestamps from the archive.