diff options
author | Martin Kletzander <mkletzan@redhat.com> | 2019-03-22 12:33:29 +0100 |
---|---|---|
committer | Tad Fisher <129148+tadfisher@users.noreply.github.com> | 2020-09-12 12:49:24 -0700 |
commit | 99419824e12ccfa082967248df356e15f456e8cd (patch) | |
tree | 495bac8387cb43ecdc1828aff502ea2f46432663 /pass-otp.1 | |
parent | 3b11688682435847b49ef6310eb11eab32acd8b9 (diff) |
Add support for quiet output of otp code command
When using this option the output of `pass otp -q ...` is predictable and can be
further used without parsing even when the password store is a repository as
well. This is useful, for example, when using rofi-pass.
The patch is written in a way that other commands can optionally use the quiet
option for otp_insert as well.
Diffstat (limited to 'pass-otp.1')
-rw-r--r-- | pass-otp.1 | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -28,13 +28,15 @@ If no COMMAND is specified, COMMAND defaults to \fBcode\fP. .SH COMMANDS .TP -\fBotp code\fP [ \fI--clip\fP, \fI-c\fP ] \fIpass-name\fP +\fBotp code\fP [ \fI--clip\fP, \fI-c\fP ] [ \fI--quiet\fP, \fI-q\fP ] \fIpass-name\fP Generate and print an OTP code from the secret key stored in \fIpass-name\fP using \fBoathtool\fP(1). If \fI--clip\fP or \fI-c\fP is specified, do not print the code but instead copy it to the clipboard using \fBxclip\fP(1) and then restore the clipboard after 45 (or \fIPASSWORD_STORE_CLIP_TIME\fP) -seconds. This command is alternatively named \fBshow\fP. +seconds. If \fI--quiet\fP or \fI-q\fP is specified, do not print +the git update message to standard out. This command is alternatively named +\fBshow\fP. .TP \fBotp insert\fP [ \fI--force\fP, \fI-f\fP ] [ \fI--echo\fP, \fI-e\fP ] \ |