From e91d24bd46e67a1b99bb7277eb00102ffb5ede7e Mon Sep 17 00:00:00 2001 From: Joursoir Date: Sun, 13 Jun 2021 16:17:22 +0000 Subject: update man and readme --- man/lpass.1 | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'man/lpass.1') diff --git a/man/lpass.1 b/man/lpass.1 index 23ab904..ade80b1 100644 --- a/man/lpass.1 +++ b/man/lpass.1 @@ -4,7 +4,7 @@ LockPassword - a password manager. .SH "SYNOPSIS" -\fBlpass\fR [command] [options] +\fBlpass\fR \fIcommand\fR [\fIoptions\fR] .SH "DESCRIPTION" \fBlpass\fR - a simple terminal password manager, using GnuPG to encrypt passwords. @@ -22,6 +22,12 @@ Add the specified \fIpassname\fR to the password manager. The password will be r .RE .PP +\fBshow\fR [-c, --copy] [-C, --no-color] [\fIpassname\fR] +.RS 4 +If no \fIpassname\fR is specified, \fIpassname\fR will assign root of password manager tree. If \fIpassname\fR is directory, list names of passwords inside the at \fIpassname\fR. Otherwise decrypt and print a password of \fIpassname\fR. The \fB-c, --copy\fR write password to clipboard; \fB-C, --no-color\fR cancel colorize the output. +.RE +.PP + \fBedit \fIpassname\fR .RS 4 Open the specified \fIpassname\fR in a text editor, waiting for changes. The text editor specified in the environment variable EDITOR or \fBvi\fR(1) is used. Temporary file for password editing locate in tmpfs / ramfs (we expect that it to be mounted at /dev/shm). @@ -82,7 +88,7 @@ Password added successfully for games/chess/user Print a list of exists password: .RS 4 -\fB$ lpass\fR +\fB$ lpass show\fR .br Password Manager .br @@ -108,7 +114,7 @@ Password Manager Print a list of exists password in some directory: .RS 4 -\fB$ lpass banks\fR +\fB$ lpass show banks\fR .br Password Manager/banks .br @@ -124,7 +130,7 @@ Password Manager/banks Show password: .RS 4 -\fB$ lpass games/iko/LordOfNight\fR +\fB$ lpass show games/iko/LordOfNight\fR .br helloitismypassword123 .RE @@ -132,7 +138,7 @@ helloitismypassword123 Copy password to clipboard: .RS 4 -\fB$ lpass -c games/iko/LordOfNight +\fB$ lpass show -c games/iko/LordOfNight .RE .PP -- cgit v1.2.3-18-g5258