[PATCH]show: add line option + changed error message

Ruven Salamon salamon.ruven at gmail.com
Fri Aug 10 05:56:24 CEST 2018


Hi,

This is my first time sending in a patch through mail (I'm more used to
pull-requests) so I hope I don't mess up anything.

I made two changes:

When a user wants to access extra information stored in a pass file by
using the line-number argument, it at least implies they're not
accessing a password. The previous text assumed they do.
The text now also reflects the different output possibilities.

and

Added a '--line', '-l' option to the show command to allow the user
to access extra information stored using '--multiline', '-m'.
This way they don't have to print out the password alongside the
needed information or place the needed line onto the clipboard first.
Added information about the option in the manpage.
Added a test for this option to the show tests. (test passes)


Hope they are of some use!

Ruven Salamon.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Changed-line-number-error-message.patch
Type: text/x-patch
Size: 1371 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20180810/9577fd39/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Added-line-option-to-show.patch
Type: text/x-patch
Size: 4648 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20180810/9577fd39/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20180810/9577fd39/attachment.asc>


More information about the Password-Store mailing list