[pass] [Proposal] Blank line after each help item in help text

Matthias Beyer mail at beyermatthias.de
Wed Mar 2 17:28:38 CET 2016


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.
-------------- next part --------------
From eb7dd1d295036d38903b6a45eb8084d0373f5cbf Mon Sep 17 00:00:00 2001
From: Matthias Beyer <mail at beyermatthias.de>
Date: Wed, 2 Mar 2016 17:26:00 +0100
Subject: [PATCH] Add blank lines after each help item

Signed-off-by: Matthias Beyer <mail at beyermatthias.de>
---
 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20160302/db9e97db/attachment.asc>


More information about the Password-Store mailing list