projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
luci-base: add luci.sys.net.host_hints() and regenerate documentation
[project/luci.git]
/
documentation
/
api
/
modules
/
luci.model.uci.html
diff --git
a/documentation/api/modules/luci.model.uci.html
b/documentation/api/modules/luci.model.uci.html
index
cf75aeb
..
c84d1eb
100644
(file)
--- a/
documentation/api/modules/luci.model.uci.html
+++ b/
documentation/api/modules/luci.model.uci.html
@@
-903,7
+903,8
@@
Get an option or list and return values as table.
<h3>Return value:</h3>
<h3>Return value:</h3>
-UCI value
+table. If the option was not found, you will simply get
+ an empty table.
@@
-1200,7
+1201,8
@@
Boolean whether operation succeeded
<dd>
<dd>
-Set given values as list.
+Set given values as list. Setting a list option to an empty list
+has the same effect as deleting the option.
@@
-1220,7
+1222,7
@@
Set given values as list.
</li>
<li>
</li>
<li>
- value:
UCI value
+ value:
value or table. Raw values will become a single item table.
</li>
</ul>
</li>
</ul>