From 4397555dc22a77c6c2d227a4ae23d0ff144eeebb Mon Sep 17 00:00:00 2001 From: Joursoir Date: Sun, 13 Jun 2021 15:40:28 +0000 Subject: exec-cmd: help: add info about 'show' --- src/exec-cmd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3-18-g5258