summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorBartosz Kosiorek <gang65@poczta.onet.pl>2019-05-22 19:29:08 (GMT)
committerBrad King <brad.king@kitware.com>2019-05-23 14:08:22 (GMT)
commitc8e217e0a70f8f445e2c593f44e1105c959fb9d7 (patch)
treeb02a243d33320167c75705eb7f332bb419352eb4 /Help/manual
parentf03a80aefd4073bc1502c2e486fedfdbd8addfb6 (diff)
downloadCMake-c8e217e0a70f8f445e2c593f44e1105c959fb9d7.zip
CMake-c8e217e0a70f8f445e2c593f44e1105c959fb9d7.tar.gz
CMake-c8e217e0a70f8f445e2c593f44e1105c959fb9d7.tar.bz2
cmake: tar: Allow selective extracting and listing of archives
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake.1.rst12
1 files changed, 9 insertions, 3 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index df0d4c5..97c65e7 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -528,16 +528,22 @@ Available commands are:
``sleep <number>...``
Sleep for given number of seconds.
-``tar [cxt][vf][zjJ] file.tar [<options>] [--] [<file>...]``
+``tar [cxt][vf][zjJ] file.tar [<options>] [--] [<pathname>...]``
Create or extract a tar or zip archive. Options are:
``c``
Create a new archive containing the specified files.
- If used, the <file> argument is mandatory.
+ If used, the ``<pathname>...`` argument is mandatory.
``x``
Extract to disk from the archive.
+ The ``<pathname>...`` argument could be used to extract only selected files
+ or directories.
+ When extracting selected files or directories, you must provide their exact
+ names including the path, as printed by list (``-t``).
``t``
- List archive contents to stdout.
+ List archive contents.
+ The ``<pathname>...`` argument could be used to list only selected files
+ or directories.
``v``
Produce verbose output.
``z``