[pass] [PATCH] fix man page bug in "generate -c" example

Alex Burka durka42 at gmail.com
Sun Oct 27 04:34:10 CET 2013


Well, I figured I should test the rest of the examples in the man page, and the other example with generate was broken as well. I updated the patch to fix both of them. 

Cheers,
Alex

---
 man/pass.1 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man/pass.1 b/man/pass.1
index efb5d9b..5a45f55 100644
--- a/man/pass.1
+++ b/man/pass.1
@@ -203,14 +203,14 @@ The generated password to Email/jasondonenfeld.com is:
 $(-QF&Q=IN2nFBx
 .TP
 Generate new alphanumeric password
-.B zx2c4 at laptop ~ $ pass -n generate Email/jasondonenfeld.com 12
+.B zx2c4 at laptop ~ $ pass generate -n Email/jasondonenfeld.com 12
 .br
 The generated password to Email/jasondonenfeld.com is:
 .br
 YqFsMkBeO6di
 .TP
 Generate new password and copy it to the clipboard
-.B zx2c4 at laptop ~ $ pass -c generate Email/jasondonenfeld.com 19
+.B zx2c4 at laptop ~ $ pass generate -c Email/jasondonenfeld.com 19
 .br
 Copied Email/jasondonenfeld.com to clipboard. Will clear in 45 seconds.
 .TP
--
1.8.4



On Saturday, October 26, 2013 at 11:19 PM, Alex Burka wrote:

> Hi again,
> 
> Here's the second one-line patch. It fixes a bug in the man page. The example as given produces an error:
> 
> $ pass -c generate test 10
> generate is not in the password store.
> 
> The fix is to put -c after generate.
> 
> Cheers,
> Alex
> 
> ---
>  man/pass.1 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man/pass.1 b/man/pass.1
> index efb5d9b..52f7586 100644
> --- a/man/pass.1
> +++ b/man/pass.1
> @@ -210,7 +210,7 @@ The generated password to Email/jasondonenfeld.com (http://jasondonenfeld.com) is:
>  YqFsMkBeO6di
>  .TP
>  Generate new password and copy it to the clipboard
> -.B zx2c4 at laptop ~ $ pass -c generate Email/jasondonenfeld.com (http://jasondonenfeld.com) 19
> +.B zx2c4 at laptop ~ $ pass generate -c Email/jasondonenfeld.com (http://jasondonenfeld.com) 19
>  .br
>  Copied Email/jasondonenfeld.com (http://jasondonenfeld.com) to clipboard. Will clear in 45 seconds.
>  .TP
> --
> 1.8.4
> 
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20131026/cc636026/attachment.html>


More information about the Password-Store mailing list