summaryrefslogtreecommitdiffstats
path: root/Source/cmListCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-05-15 13:57:49 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-05-15 13:57:49 (GMT)
commitcb2a9be622d612c462ec901bce6a5bab7b1462d7 (patch)
treedd2230f0bc34c97853298cc0f56bb46288c311c5 /Source/cmListCommand.h
parent3b92585cf088d2d316755b77e51a13b4c0173b8b (diff)
downloadCMake-cb2a9be622d612c462ec901bce6a5bab7b1462d7.zip
CMake-cb2a9be622d612c462ec901bce6a5bab7b1462d7.tar.gz
CMake-cb2a9be622d612c462ec901bce6a5bab7b1462d7.tar.bz2
ENH: Change REMOVE and REMOVE_ITEM to REMOVE_AT and REMOVE_ITEM
Diffstat (limited to 'Source/cmListCommand.h')
-rw-r--r--Source/cmListCommand.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmListCommand.h b/Source/cmListCommand.h
index 779b6bd..fc91bad 100644
--- a/Source/cmListCommand.h
+++ b/Source/cmListCommand.h
@@ -69,8 +69,8 @@ public:
"<output variable>)\n"
" LIST(APPEND <list> <element> [<element> ...])\n"
" LIST(INSERT <list> <element_index> <element> [<element> ...])\n"
- " LIST(REMOVE <list> <value> [<value> ...])\n"
- " LIST(REMOVE_ITEM <list> <index> [<index> ...])\n"
+ " LIST(REMOVE_ITEM <list> <value> [<value> ...])\n"
+ " LIST(REMOVE_AT <list> <index> [<index> ...])\n"
" LIST(SORT <list>)\n"
" LIST(REVERSE <list>)\n"
"LENGTH will return a given list's length.\n"
@@ -79,8 +79,8 @@ public:
"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_AT and REMOVE_ITEM will remove item from the list. The difference "
+ "is that REMOVE_ITEM will remove the given items, while REMOVE_AT will "
"remove the item at the given indices.\n"
;
}
@@ -91,7 +91,7 @@ protected:
bool HandleGetCommand(std::vector<std::string> const& args);
bool HandleAppendCommand(std::vector<std::string> const& args);
bool HandleInsertCommand(std::vector<std::string> const& args);
- bool HandleRemoveCommand(std::vector<std::string> const& args);
+ bool HandleRemoveAtCommand(std::vector<std::string> const& args);
bool HandleRemoveItemCommand(std::vector<std::string> const& args);