diff options
author | Craig Scott <craig.scott@crascit.com> | 2020-07-06 10:11:11 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2020-07-06 10:15:09 (GMT) |
commit | f9766dad199cb465824457c00d5e9bc91755d8ff (patch) | |
tree | 6bc325ea8b2311da04b8fbe2af0c5584289f8deb /Help/command | |
parent | 6180d991488ba5366f3e7971fb509f1a894e7af4 (diff) | |
download | CMake-f9766dad199cb465824457c00d5e9bc91755d8ff.zip CMake-f9766dad199cb465824457c00d5e9bc91755d8ff.tar.gz CMake-f9766dad199cb465824457c00d5e9bc91755d8ff.tar.bz2 |
Help: Update file(ARCHIVE...) synopsis for renamed options
The FILES and DIRECTORY options were renamed in bbcff21f71
(file(ARCHIVE*): Collapse FILES and DIRECTORY options, 2020-06-30),
but the synopsis part of the file() documentation was missed.
The synopsis also typically only shows the mandatory options.
Update the synopsis to reflect the name changes and omit the
DESTINATION option since it is not mandatory.
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/file.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst index c1a2032..e7bc8d2 100644 --- a/Help/command/file.rst +++ b/Help/command/file.rst @@ -43,8 +43,8 @@ Synopsis file(`LOCK`_ <path> [...]) `Archiving`_ - file(`ARCHIVE_CREATE`_ OUTPUT <archive> FILES <files> [...]) - file(`ARCHIVE_EXTRACT`_ INPUT <archive> DESTINATION <dir> [...]) + file(`ARCHIVE_CREATE`_ OUTPUT <archive> PATHS <paths>... [...]) + file(`ARCHIVE_EXTRACT`_ INPUT <archive> [...]) Reading ^^^^^^^ |