aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-06-13 15:40:28 +0000
committerJoursoir <chat@joursoir.net>2021-06-13 15:40:28 +0000
commit4397555dc22a77c6c2d227a4ae23d0ff144eeebb (patch)
treee4f083795a422ef2bb69e27e166fdf8b3a7abcb2 /src
parent40fa8026e7b6df158e65eeb4d511af40e03b8bd4 (diff)
downloadlock-password-4397555dc22a77c6c2d227a4ae23d0ff144eeebb.tar.gz
lock-password-4397555dc22a77c6c2d227a4ae23d0ff144eeebb.tar.bz2
lock-password-4397555dc22a77c6c2d227a4ae23d0ff144eeebb.zip
exec-cmd: help: add info about 'show'
Diffstat (limited to 'src')
-rw-r--r--src/exec-cmd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/exec-cmd.c b/src/exec-cmd.c
index 6955a20..7724023 100644
--- a/src/exec-cmd.c
+++ b/src/exec-cmd.c
@@ -379,13 +379,16 @@ int cmd_move(int argc, char *argv[])
int cmd_help(int argc, char *argv[])
{
printf("Synopsis:\n"
- "\tlpass [command] [arguments] ...\n"
+ "\tlpass command [arguments] ...\n"
"Commands:\n"
"\tinit gpg-key\n"
"\t\tInitialize the password manager using the passed gpg-key.\n"
"\tinsert [-e, --echo] [-c, --copy] [-f, --force] passname\n"
"\t\tAdd the specified passname to the password manager.\n"
+ "\tshow [-c, --copy] [-C, --no-color] [passname]\n"
+ "\t\tIf the specified passname is file, decrypt and print a password of passname. "
+ "Otherwise list passnames inside the tree at passname.\n"
"\tedit [-t, --text-editor=text-editor] passname\n"
"\t\tOpen the specified passname in a text editor, waiting for changes.\n"
"\tgenerate [-l, --length=pass-length] [-c, --copy] [-f, --force] passname\n"