summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/util.luadoc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-base/luasrc/util.luadoc')
-rw-r--r--modules/luci-base/luasrc/util.luadoc9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/luci-base/luasrc/util.luadoc b/modules/luci-base/luasrc/util.luadoc
index 949aeb21c0..79a17a2280 100644
--- a/modules/luci-base/luasrc/util.luadoc
+++ b/modules/luci-base/luasrc/util.luadoc
@@ -83,6 +83,15 @@ Strip HTML tags from given string.
]]
---[[
+Safely quote value for use in shell commands.
+
+@class function
+@name shellquote
+@param value String containing the value to quote
+@return Single-quote enclosed string with embedded quotes escaped
+]]
+
+---[[
Splits given string on a defined separator sequence and return a table
containing the resulting substrings. The optional max parameter specifies