summaryrefslogtreecommitdiff
path: root/lib/tdb/manpages/tdbdump.8.xml
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-10-04 09:04:23 +0930
committerRusty Russell <rusty@rustcorp.com.au>2012-10-04 03:16:06 +0200
commit100d38d6e0fae1dc666ae43941570c9f106b73c2 (patch)
treecc6e290bd67404206354f03224559f4cc5a921ca /lib/tdb/manpages/tdbdump.8.xml
parentffde8678910ae838588ab380b48a544333f81241 (diff)
downloadsamba-100d38d6e0fae1dc666ae43941570c9f106b73c2.tar.gz
samba-100d38d6e0fae1dc666ae43941570c9f106b73c2.tar.bz2
samba-100d38d6e0fae1dc666ae43941570c9f106b73c2.zip
tdb: add -e option to tdbdump (and docment it).
This allows for an emergency best-effort dump. It's a little better than strings(1). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Thu Oct 4 03:16:06 CEST 2012 on sn-devel-104
Diffstat (limited to 'lib/tdb/manpages/tdbdump.8.xml')
-rw-r--r--lib/tdb/manpages/tdbdump.8.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/tdb/manpages/tdbdump.8.xml b/lib/tdb/manpages/tdbdump.8.xml
index 90465e53e8..3420193243 100644
--- a/lib/tdb/manpages/tdbdump.8.xml
+++ b/lib/tdb/manpages/tdbdump.8.xml
@@ -19,6 +19,9 @@
<refsynopsisdiv>
<cmdsynopsis>
<command>tdbdump</command>
+ <arg choice="opt">-k <replaceable>keyname</replaceable></arg>
+ <arg choice="opt">-e</arg>
+ <arg choice="opt">-h</arg>
<arg choice="req">filename</arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -39,6 +42,34 @@
</para>
</refsect1>
+<refsect1>
+ <title>OPTIONS</title>
+
+ <variablelist>
+
+ <varlistentry>
+ <term>-h</term>
+ <listitem><para>
+ Get help information.
+ </para></listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>-k <replaceable>keyname</replaceable></term>
+ <listitem><para>
+ The <command>-k</command> option restricts dumping to a single key, if found.
+ </para> </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>-e</term>
+ <listitem><para>
+ The <command>-e</command> tries to dump out from a corrupt database. Naturally, such a dump is unreliable, at best.
+ </para></listitem>
+ </varlistentry>
+
+ </variablelist>
+</refsect1>
<refsect1>
<title>VERSION</title>