summaryrefslogtreecommitdiff
path: root/docs-xml
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-01-14 17:22:05 +0100
committerMichael Adam <obnox@samba.org>2013-01-15 14:49:20 +0100
commit7f65434559ca241a3b8c2cb7969f63f6512a9ff7 (patch)
treefbe7d9661fb83bc2e8a6293fd8745e92662bf850 /docs-xml
parent770b1aafa0e6557d9de2aace26dae4191eb01568 (diff)
downloadsamba-7f65434559ca241a3b8c2cb7969f63f6512a9ff7.tar.gz
samba-7f65434559ca241a3b8c2cb7969f63f6512a9ff7.tar.bz2
samba-7f65434559ca241a3b8c2cb7969f63f6512a9ff7.zip
docs: document the "--persistent" option in dbwrap_tool(1)
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'docs-xml')
-rw-r--r--docs-xml/manpages/dbwrap_tool.1.xml18
1 files changed, 13 insertions, 5 deletions
diff --git a/docs-xml/manpages/dbwrap_tool.1.xml b/docs-xml/manpages/dbwrap_tool.1.xml
index f4a638881c..59ef968b97 100644
--- a/docs-xml/manpages/dbwrap_tool.1.xml
+++ b/docs-xml/manpages/dbwrap_tool.1.xml
@@ -19,6 +19,7 @@
<refsynopsisdiv>
<cmdsynopsis>
<command>dbwrap_tool</command>
+ <arg choice="opt">--persistent</arg>
<arg choice="opt">-d &lt;debug level&gt;</arg>
<arg choice="opt">-s &lt;config file&gt;</arg>
<arg choice="opt">-l &lt;log file base&gt;</arg>
@@ -67,6 +68,13 @@
<title>OPTIONS</title>
<variablelist>
+ <varlistentry>
+ <term>--persistent</term>
+ <listitem><para>Open the database as a persistent database.
+ If this option is not specified, the database is opened as
+ non-persistent.
+ </para></listitem>
+ </varlistentry>
&popt.common.samba.client;
&stdarg.help;
</variablelist>
@@ -115,17 +123,17 @@
<title>EXAMPLES</title>
<variablelist>
<varlistentry><term>List all keys from winbindd_idmap.tdb</term>
- <listitem><para><command>dbwrap_tool</command> winbindd_idmap.tdb listkeys</para></listitem>
+ <listitem><para><command>dbwrap_tool</command> --persistent winbindd_idmap.tdb listkeys</para></listitem>
</varlistentry>
<varlistentry><term>Fetch record with key "USER HWM" as uint32</term>
- <listitem><para><command>dbwrap_tool</command> winbindd_idmap.tdb fetch "USER HWM" uint32</para></listitem>
+ <listitem><para><command>dbwrap_tool</command> --persistent winbindd_idmap.tdb fetch "USER HWM" uint32</para></listitem>
</varlistentry>
<varlistentry><term>Remove record with key "USER HWM"</term>
- <listitem><para><command>dbwrap_tool</command> winbindd_idmap.tdb remove "USER HWM"</para></listitem>
+ <listitem><para><command>dbwrap_tool</command> --persistent winbindd_idmap.tdb remove "USER HWM"</para></listitem>
</varlistentry>
<varlistentry><term>Store and overwrite record "USER HWM" with value 214</term>
- <listitem><para>uint32: <command>dbwrap_tool</command> winbindd_idmap.tdb store "USER HWM" uint32 214</para></listitem>
- <listitem><para>hex: <command>dbwrap_tool</command> winbindd_idmap.tdb store "USER HWM" hex D6000000</para></listitem>
+ <listitem><para>uint32: <command>dbwrap_tool</command> --persistent winbindd_idmap.tdb store "USER HWM" uint32 214</para></listitem>
+ <listitem><para>hex: <command>dbwrap_tool</command> --persistent winbindd_idmap.tdb store "USER HWM" hex D6000000</para></listitem>
</varlistentry>
</variablelist>
</refsect1>