From 3c39e315b6621b93cff94b5aab559fbceaa72b13 Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Wed, 11 Jul 2007 12:47:51 -0400 Subject: [PATCH] Updated and added some examples. --- pwmc.1 | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/pwmc.1 b/pwmc.1 index af65ed0d..11c7d91d 100644 --- a/pwmc.1 +++ b/pwmc.1 @@ -15,13 +15,13 @@ \\$2 \(laURL: \\$1 \(ra\\$3 .. .if \n[.g] .mso www.tmac -.TH PWMD 1 "17 Jan 2007" "Password Manager Client" "Password Manager Client" +.TH PWMD 1 "11 Jul 2007" "Password Manager Client" "Password Manager Client" .SH NAME pwmc \- send commands to pwmd .SH SYNOPSIS .B pwmc -[\-hv] [\-E] [\-s ] [\-a | \-p ] [\-S] +[\-hv] [\-E] [\-s ] [\-a [-P pinentry_path] | \-p ] [\-S] .SH DESCRIPTION .B pwmc @@ -44,6 +44,11 @@ Use .BR pinentry (1) for password retrieval. .TP +.I "\-P " +The full path of the +.BR pinentry (1) +program. \fBlibpwmd\fP defaults to \fI/usr/bin/pinentry\fP. +.TP .I "\-p " Use the specified password. .TP @@ -56,6 +61,28 @@ Version information. .I "\-h" Help text. +.SH EXAMPLES +To list the available accounts and use +.BR pinentry (1) +to get the password: +.RS +echo list | pwmc -a filename +.RE +.P +To store an element path and save the file afterwards: +.RS +echo -e 'store isp\\tsmtp\\thostname\\tsomehost.com' | pwmc -S filename +.RE +.P +Clear the file cache for a single file: +.RS +echo 'clearcache filename' | pwmc +.RE +.P +Multiple commands in one instance: +.RS +echo -e 'get isp\\tsmtp\\thostname\\nget isp\\tusername' | pwmc filename +.RE .SH FILES .TP -- 2.11.4.GIT