On 26/05/2015 09:04, cyberxndr . wrote:
> This code provides a quick way to retrieve one password from the tree. I
> would like to know is whether or not it is accepted.
> 
> 2015-05-13 13:35 GMT+03:00 cyberxndr:
> 
>     diff --git a/password-store/src/password-store.sh
>     b/password-store-feature/src/password-store.sh
>     index 47f7ffa..d5f6a59 100755
>     --- a/password-store/src/password-store.sh
>     +++ b/password-store-feature/src/password-store.sh
>     @@ -223,9 +223,10 @@ cmd_usage() {
>                     List passwords.
>                 $PROGRAM find pass-names...
>                     List passwords that match pass-names.
>     -           $PROGRAM [show] [--clip,-c] pass-name
>     +           $PROGRAM [show] [--clip,-c] [--exclusive,-e] 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.
>     +               Optionally, entry can contain * wildcard for quickly 
> exclusive passwords.
>                 $PROGRAM grep search-string
>                     Search for password files containing search-string when 
> decrypted.
>                 $PROGRAM insert [--echo,-e | --multiline,-m] [--force,-f] 
> pass-name
>     @@ -294,12 +295,13 @@ cmd_init() {
>      }

speaking just for myself, I find --exclusive a misleading/confusing name
for this option.  I think it would be better to just make this the
default behaviour, no option needed.

suggested updated usage.  I leave the implementation to someone else :-)

  $PROGRAM [show] [--clip,-c] 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.
      Pass-name can contain wildcards (*) or be a substring.  If it
      matches uniquely, operate on that password file.

-- 
regards,
Kjetil T. Homme


Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to