From 8084babf185e4825a0d313ea2a42b9f0b4ae4bfa Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Tue, 1 Sep 2015 13:36:38 +0000 Subject: luci.utils.contains: update documentation to match reality Signed-off-by: Karl Palsson --- modules/luci-base/luasrc/util.luadoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/luci-base/luasrc/util.luadoc') diff --git a/modules/luci-base/luasrc/util.luadoc b/modules/luci-base/luasrc/util.luadoc index 1c09b7a9ab..ed1d8ab069 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. ]] ---[[ -- cgit v1.2.3