Skip Menu |

This queue is for tickets about the DBIx-Class-Schema-Loader CPAN distribution.

Report information
The Basics
Id: 47302
Status: resolved
Priority: 0/
Queue: DBIx-Class-Schema-Loader

People
Owner: Nobody in particular
Requestors: rmb32 [...] cornell.edu
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.04999_07
Fixed in: (no value)



Subject: dbicadmin script needs pod::usage
dbicdump has no usage messages. add pod::usage.
Subject: dbicdump_podusage.patch
Index: script/dbicdump =================================================================== --- script/dbicdump (revision 6777) +++ script/dbicdump (working copy) @@ -39,6 +39,9 @@ use strict; use warnings; use Getopt::Long; + +use Pod::Usage; + use DBIx::Class::Schema::Loader qw/ make_schema_at /; require DBIx::Class::Schema::Loader::Base; @@ -47,7 +50,8 @@ GetOptions( 'loader-option|o=s%' => \&handle_option ); $loader_options->{dump_directory} ||= '.'; -my ($schema_class, @loader_connect_info) = @ARGV; +my ($schema_class, @loader_connect_info) = @ARGV + or pod2usage(1); sub handle_option { my ($self, $key, $value) = @_;
Subject: dbicdump script needs pod::usage
dbicdump has no usage messages. add pod::usage.
Subject: dbicdump script needs pod::usage
I meant dbicdump in the subject, not dbicadmin. On Wed Jun 24 01:18:12 2009, rbuels wrote: Show quoted text
> dbicdump has no usage messages. add pod::usage.
resolved by ilmari applying my patch a while ago. is anybody actually paying attention to this bug queue?