summaryrefslogtreecommitdiffstats
path: root/Source/cmListCommand.h
diff options
context:
space:
mode:
authorРоман Донченко <dpb@corrigendum.ru>2013-10-11 21:58:22 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-14 15:16:59 (GMT)
commiteec7834ed8952198191c3314c626fe7ae905f2fa (patch)
treedb371ec507b798d2c24d0a7adc9f7c81f06e1b2a /Source/cmListCommand.h
parent2a96e374fc83325d01e7ee07801c0e1a45779129 (diff)
downloadCMake-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/cmListCommand.h')
-rw-r--r--Source/cmListCommand.h2
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"