From 7f65434559ca241a3b8c2cb7969f63f6512a9ff7 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 14 Jan 2013 17:22:05 +0100 Subject: [PATCH] docs: document the "--persistent" option in dbwrap_tool(1) Signed-off-by: Michael Adam Reviewed-by: Volker Lendecke --- docs-xml/manpages/dbwrap_tool.1.xml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/docs-xml/manpages/dbwrap_tool.1.xml b/docs-xml/manpages/dbwrap_tool.1.xml index f4a638881c0..59ef968b978 100644 --- a/docs-xml/manpages/dbwrap_tool.1.xml +++ b/docs-xml/manpages/dbwrap_tool.1.xml @@ -19,6 +19,7 @@ dbwrap_tool + --persistent -d <debug level> -s <config file> -l <log file base> @@ -67,6 +68,13 @@ OPTIONS + + --persistent + Open the database as a persistent database. + If this option is not specified, the database is opened as + non-persistent. + + &popt.common.samba.client; &stdarg.help; @@ -115,17 +123,17 @@ EXAMPLES List all keys from winbindd_idmap.tdb - dbwrap_tool winbindd_idmap.tdb listkeys + dbwrap_tool --persistent winbindd_idmap.tdb listkeys Fetch record with key "USER HWM" as uint32 - dbwrap_tool winbindd_idmap.tdb fetch "USER HWM" uint32 + dbwrap_tool --persistent winbindd_idmap.tdb fetch "USER HWM" uint32 Remove record with key "USER HWM" - dbwrap_tool winbindd_idmap.tdb remove "USER HWM" + dbwrap_tool --persistent winbindd_idmap.tdb remove "USER HWM" Store and overwrite record "USER HWM" with value 214 - uint32: dbwrap_tool winbindd_idmap.tdb store "USER HWM" uint32 214 - hex: dbwrap_tool winbindd_idmap.tdb store "USER HWM" hex D6000000 + uint32: dbwrap_tool --persistent winbindd_idmap.tdb store "USER HWM" uint32 214 + hex: dbwrap_tool --persistent winbindd_idmap.tdb store "USER HWM" hex D6000000 -- 2.11.4.GIT