Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Rubric CPAN distribution.

Report information
The Basics
Id: 30821
Status: resolved
Priority: 0/
Queue: Rubric

People
Owner: Nobody in particular
Requestors: genehack [...] genehack.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: 'rubric user -n' fails; doesn't see '--pass' option
Date: Sun, 18 Nov 2007 11:16:57 -0500
To: bug-Rubric <bug-Rubric [...] rt.cpan.org>
From: John SJ Anderson <genehack [...] genehack.org>
'rubric user -n --email user@example.com --pass password' always fails, because it looks like the 'password' option doesn't get set properly. The following patch fixes this: diff --git a/lib/Rubric/CLI/Command/user.pm b/lib/Rubric/CLI/Command/user.pm index ad382d7..5fbd50f 100644 --- a/lib/Rubric/CLI/Command/user.pm +++ b/lib/Rubric/CLI/Command/user.pm @@ -24,7 +24,7 @@ sub opt_spec { return ( [ "new-user|n", "add a user (requires --email and --pass)" ], [ "activate|a", "activate an existing user" ], - [ "password|pass|p=s", "set user's password" ], + [ "pass|p=s", "set user's password" ], [ "email|e=s", "set user's email address" ], ); } john. -- "Linking without permission is stealing. Period, end of story." - Mark Cuban, CEO of broadcast.com
This was fixed in 556f0744. -- rjbs