summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-06-19 14:03:40 (GMT)
committerBrad King <brad.king@kitware.com>2013-06-19 14:05:44 (GMT)
commitae06f80716ff52b398dc9729ae73fe84baae049d (patch)
tree58b53929aa22faf18cc84707d75d7017f906d77d /Source/cmake.cxx
parentee59089803c9d61710f24cbe70a2a819c6b9f771 (diff)
downloadCMake-ae06f80716ff52b398dc9729ae73fe84baae049d.zip
CMake-ae06f80716ff52b398dc9729ae73fe84baae049d.tar.gz
CMake-ae06f80716ff52b398dc9729ae73fe84baae049d.tar.bz2
cmake: Document "-E tar" support for .zip (#14225)
Through use of libarchive internally we support .zip files as well as .tar format. The ExternalProject module makes use of this feature. Document support officially.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index e757f3a..853e09c 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -1168,9 +1168,8 @@ void CMakeCommandUsage(const char* program)
<< " remove_directory dir - remove a directory and its contents\n"
<< " rename oldname newname - rename a file or directory "
"(on one volume)\n"
- << " tar [cxt][vfz][cvfj] file.tar "
- "file/dir1 file/dir2 ... - create a tar "
- "archive\n"
+ << " tar [cxt][vfz][cvfj] file.tar [file/dir1 file/dir2 ...]\n"
+ << " - create or extract a tar or zip archive\n"
<< " time command [args] ... - run command and return elapsed time\n"
<< " touch file - touch a file.\n"
<< " touch_nocreate file - touch a file but do not create it.\n"