Hi,

I'd like to have blank a line after each help-text item. It reduces the
wall-of-text experience of `pass --help`.

Of course this is opinion-based... so I'd like to hear your opinion!

Patch attached.

-- 
Mit freundlichen Grüßen,
Kind regards,
Matthias Beyer

Proudly sent with mutt.
Happily signed with gnupg.
From eb7dd1d295036d38903b6a45eb8084d0373f5cbf Mon Sep 17 00:00:00 2001
From: Matthias Beyer <[email protected]>
Date: Wed, 2 Mar 2016 17:26:00 +0100
Subject: [PATCH] Add blank lines after each help item

Signed-off-by: Matthias Beyer <[email protected]>
---
 src/password-store.sh | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/src/password-store.sh b/src/password-store.sh
index 63be840..8d41ebb 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -220,37 +220,50 @@ cmd_usage() {
            $PROGRAM init [--path=subfolder,-p subfolder] gpg-id...
                Initialize new password storage and use gpg-id for encryption.
                Selectively reencrypt existing passwords using new gpg-id.
+
            $PROGRAM [ls] [subfolder]
                List passwords.
+
            $PROGRAM find pass-names...
                List passwords that match pass-names.
+
            $PROGRAM [show] [--clip[=line-number],-c[line-number]] pass-name
                Show existing password and optionally put it on the clipboard.
                If put on the clipboard, it will be cleared in $CLIP_TIME 
seconds.
+
            $PROGRAM grep search-string
                Search for password files containing search-string when 
decrypted.
+
            $PROGRAM insert [--echo,-e | --multiline,-m] [--force,-f] pass-name
                Insert new password. Optionally, echo the password back to the 
console
                during entry. Or, optionally, the entry may be multiline. 
Prompt before
                overwriting existing password unless forced.
+
            $PROGRAM edit pass-name
                Insert a new password or edit an existing password using 
${EDITOR:-vi}.
+
            $PROGRAM generate [--no-symbols,-n] [--clip,-c] [--in-place,-i | 
--force,-f] pass-name [pass-length]
                Generate a new password of pass-length (or $GENERATED_LENGTH if 
unspecified) with optionally no symbols.
                Optionally put it on the clipboard and clear board after 
$CLIP_TIME seconds.
                Prompt before overwriting existing password unless forced.
                Optionally replace only the first line of an existing file with 
a new password.
+
            $PROGRAM rm [--recursive,-r] [--force,-f] pass-name
                Remove existing password or directory, optionally forcefully.
+
            $PROGRAM mv [--force,-f] old-path new-path
                Renames or moves old-path to new-path, optionally forcefully, 
selectively reencrypting.
+
            $PROGRAM cp [--force,-f] old-path new-path
                Copies old-path to new-path, optionally forcefully, selectively 
reencrypting.
+
            $PROGRAM git git-command-args...
                If the password store is a git repository, execute a git command
                specified by git-command-args.
+
            $PROGRAM help
                Show this text.
+
            $PROGRAM version
                Show version information.
 
-- 
2.7.1

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to