summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorKarl Palsson <karlp@remake.is>2015-09-01 13:36:38 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-09-01 16:33:41 +0200
commit8084babf185e4825a0d313ea2a42b9f0b4ae4bfa (patch)
tree42dcf362cbeba0b9a5b0bb471ab78295fc5b9a31 /modules
parent2e6118888156b66d8a84e6487de12d5ba88a6a6e (diff)
luci.utils.contains: update documentation to match reality
Signed-off-by: Karl Palsson <karlp@remake.is>
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-base/luasrc/util.luadoc3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/util.luadoc b/modules/luci-base/luasrc/util.luadoc
index 1c09b7a9a..ed1d8ab06 100644
--- a/modules/luci-base/luasrc/util.luadoc
+++ b/modules/luci-base/luasrc/util.luadoc
@@ -182,7 +182,8 @@ Checks whether the given table contains the given value.
@name contains
@param table Table value
@param value Value to search within the given table
-@return Boolean indicating whether the given value occurs within table
+@return number indicating the first index at which the given value occurs
+-- within table or false.
]]
---[[