浏览代码

cfg_rpc: documentation about group vars listing with rpc cfg.get

- part of PR #1321
Huseyin Dikme 7 年之前
父节点
当前提交
e98bd84810
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/modules/cfg_rpc/doc/rpc.xml

+ 3 - 1
src/modules/cfg_rpc/doc/rpc.xml

@@ -35,7 +35,8 @@
 	    <para>
 		<emphasis>cfg.get</emphasis> - Get the value of
 		a configuration variable. The function accepts two parameters:
-		group name, variable name. The group name can optionally contain the
+		group name, variable name, but if all the elements belonging to a certain group is wanted to be retrieved
+		then only the group name would suffice as the function parameter. The group name can optionally contain the
 		group instance id, for example foo[5].
 	    </para>
 		<example>
@@ -43,6 +44,7 @@
 		<programlisting format="linespecific">
 ...
 # &sercmd; cfg.get core debug
+# &sercmd; cfg.get tm
 ...
 </programlisting>
 		</example>