m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-02-06 20:04:24 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-02-06 20:04:24 +0100
commitfcb92ed69fc191e39379bad715371d8c28410885 (patch)
treee4492d39b6410f89c63f587426dc72bee0fa9150 /man
parent930f01cd830815730f3f041d5e5788fccdd6d4cb (diff)
show: allow passing prefix to clip
Diffstat (limited to 'man')
-rw-r--r--man/pass.19
1 files changed, 5 insertions, 4 deletions
diff --git a/man/pass.1 b/man/pass.1
index 33b6036..48d272a 100644
--- a/man/pass.1
+++ b/man/pass.1
@@ -86,12 +86,13 @@ List names of passwords inside the tree that match \fIpass-names\fP by using the
.BR tree (1)
program. This command is alternatively named \fBsearch\fP.
.TP
-\fBshow\fP [ \fI--clip\fP[=\fIline-number\fP], \fI-c\fP[\fIline-number\fP] ] \fIpass-name\fP
+\fBshow\fP [ \fI--clip\fP[=\fIline\fP], \fI-c\fP[\fIline\fP] ] \fIpass-name\fP
Decrypt and print a password named \fIpass-name\fP. If \fI--clip\fP or \fI-c\fP
-is specified, do not print the password but instead copy the first (or otherwise specified)
-line to the clipboard using
+is specified, do not print the password but instead copy a line to the clipboard using
.BR xclip (1)
-and then restore the clipboard after 45 (or \fIPASSWORD_STORE_CLIP_TIME\fP) seconds.
+and then restore the clipboard after 45 (or \fIPASSWORD_STORE_CLIP_TIME\fP) seconds. If
+\fIline\fP is a number, the \fIline\fP-th line is copied; otherwise the line starting with
+\fIline\fP is copied.
.TP
\fBinsert\fP [ \fI--echo\fP, \fI-e\fP | \fI--multiline\fP, \fI-m\fP ] [ \fI--force\fP, \fI-f\fP ] \fIpass-name\fP
Insert a new password into the password store called \fIpass-name\fP. This will