summaryrefslogtreecommitdiffstats
path: root/Source/cmListCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-05-11 17:56:58 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-05-11 17:56:58 (GMT)
commitb1b1973736477bdedc77e5ac038afaad7de52c6b (patch)
tree8642de6b2dc81294437ecf6356731335c85c1a25 /Source/cmListCommand.h
parent231bd4eb739b3dc1c5ac2454aa9a804394060f86 (diff)
downloadCMake-b1b1973736477bdedc77e5ac038afaad7de52c6b.zip
CMake-b1b1973736477bdedc77e5ac038afaad7de52c6b.tar.gz
CMake-b1b1973736477bdedc77e5ac038afaad7de52c6b.tar.bz2
ENH: Some documentation and add APPEND
Diffstat (limited to 'Source/cmListCommand.h')
-rw-r--r--Source/cmListCommand.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/Source/cmListCommand.h b/Source/cmListCommand.h
index 99d3314..e510d19 100644
--- a/Source/cmListCommand.h
+++ b/Source/cmListCommand.h
@@ -67,18 +67,21 @@ public:
" LIST(LENGTH <list> <output variable>)\n"
" LIST(GET <list> <element index> [<element index> ...] "
"<output variable>)\n"
- " LIST(SET <list> <element> [<element> ...])\n"
+ " LIST(APPEND <list> <element> [<element> ...])\n"
" LIST(INSERT <list> <element_index> <element> [<element> ...])\n"
- " LIST(REMOVE <variable> <value> [<value> ...])\n"
- " LIST(REMOVE_ITEM <variable> <index> [<index> ...])\n"
- " LIST(SORT <variable>)\n"
- " LIST(REVERSE <variable>)\n"
+ " LIST(REMOVE <list> <value> [<value> ...])\n"
+ " LIST(REMOVE_ITEM <list> <index> [<index> ...])\n"
+ " LIST(SORT <list>)\n"
+ " LIST(REVERSE <list>)\n"
"LENGTH will return a given list's length.\n"
"GET will return list of elements specified by indices from the list.\n"
- "SET will append elements to the list.\n"
+ "APPEND will append elements to the list.\n"
"INSERT will insert elements to the list to the specified location.\n"
"When specifying an index, negative value corresponds to index from the"
" end of the list.\n"
+ "REMOVE and REMOVE_ITEM will remove item from the list. The difference "
+ "is that REMOVE will remove the given items, while REMOVE_ITEM will "
+ "remove the item at the given indices.\n"
;
}