config/functions: fix comment

This commit is contained in:
MilhouseVH 2018-11-28 15:45:00 +00:00
parent aaa8c7e493
commit 3b756a1f3c

View File

@ -38,7 +38,7 @@ listcontains() {
}
# remove item(s) from list.
# looping makes it greedy (eg. removefromlist "abc def ghi" "(abc|def)" will work).
# looping makes it greedy (eg. listremoveitem "abc def ghi" "(abc|def)" removes both "abc" and "def").
listremoveitem() {
local data="${1}" odata tmp_array
if [ -n "$1" -a -n "$2" ]; then