diff options
author | Роман Донченко <dpb@corrigendum.ru> | 2013-10-11 21:58:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-14 15:16:59 (GMT) |
commit | eec7834ed8952198191c3314c626fe7ae905f2fa (patch) | |
tree | db371ec507b798d2c24d0a7adc9f7c81f06e1b2a /Source | |
parent | 2a96e374fc83325d01e7ee07801c0e1a45779129 (diff) | |
download | CMake-eec7834ed8952198191c3314c626fe7ae905f2fa.zip CMake-eec7834ed8952198191c3314c626fe7ae905f2fa.tar.gz CMake-eec7834ed8952198191c3314c626fe7ae905f2fa.tar.bz2 |
list: Fix docs for APPEND to show that elements are optional
list(APPEND) has been able to append nothing since commit a06dcdba
(Allow LIST(APPEND) command to append nothing, 2008-01-16) but the
documentation still used to imply that at least one argument is
required.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmListCommand.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmListCommand.h b/Source/cmListCommand.h index f20aa8a..5523633 100644 --- a/Source/cmListCommand.h +++ b/Source/cmListCommand.h @@ -63,7 +63,7 @@ public: " list(LENGTH <list> <output variable>)\n" " list(GET <list> <element index> [<element index> ...]\n" " <output variable>)\n" - " list(APPEND <list> <element> [<element> ...])\n" + " list(APPEND <list> [<element> ...])\n" " list(FIND <list> <value> <output variable>)\n" " list(INSERT <list> <element_index> <element> [<element> ...])\n" " list(REMOVE_ITEM <list> <value> [<value> ...])\n" |