Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dist-Zilla CPAN distribution.

Report information
The Basics
Id: 77354
Status: open
Priority: 0/
Queue: Dist-Zilla

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

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



Subject: "dzil -v new MyNewModule" fails with usage error
Download (untitled) / with headers
text/plain 523b
"dzil new" works as expected when not supplying the "-v" or "--verbose" options. When one of these is supplied, dzil fails with an "unrecognised command" error. $ dzil new MyNewModule [DZ] making target dir /home/lx/MyNewModule [DZ] writing files to /home/lx/MyNewModule [DZ] dist minted in ./MyNewModule $ rm -rf MyNewModule $ dzil -v new MyNewModule Unrecognized command: MyNewModule. Usage: dzil [-Iv] [long options...] <command> -v --verbose log additional output -I --lib-inc additional @INC dirs ...
Download (untitled) / with headers
text/plain 376b
On Tue May 22 04:36:13 2012, LXP wrote: Show quoted text
> "dzil new" works as expected when not supplying the "-v" or > "--verbose" options. When one of these is supplied, dzil fails > with an "unrecognised command" error.
I was just about to report a bug in the usage information - the -v option seems to be required *after* the command, not before (as the output of 'dzil commands' says)
Download (untitled) / with headers
text/plain 263b
This is a documentation issue. -v takes an optional plugin name, so you can make just one plugin verbose. When you say "dzil -v new MyNewModule", dzil thinks "new" is that plugin name, which leaves "MyNewModule" as the command. "dzil new MyNewModule -v" works.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.