[Bast-commits] r9362 -
DBIx-Class/0.08/branches/dbicadmin-non-versioned/script
edenc at dev.catalyst.perl.org
edenc at dev.catalyst.perl.org
Fri May 14 02:03:00 GMT 2010
Author: edenc
Date: 2010-05-14 03:03:00 +0100 (Fri, 14 May 2010)
New Revision: 9362
Modified:
DBIx-Class/0.08/branches/dbicadmin-non-versioned/script/dbicadmin
Log:
debug and include_dirs integration between dbicadmin and DBIx::Class::Admin
Modified: DBIx-Class/0.08/branches/dbicadmin-non-versioned/script/dbicadmin
===================================================================
--- DBIx-Class/0.08/branches/dbicadmin-non-versioned/script/dbicadmin 2010-05-14 02:02:41 UTC (rev 9361)
+++ DBIx-Class/0.08/branches/dbicadmin-non-versioned/script/dbicadmin 2010-05-14 02:03:00 UTC (rev 9362)
@@ -62,7 +62,8 @@
['force' => 'Be forceful with some operations'],
['trace' => 'Turn on DBIx::Class trace output'],
['quiet' => 'Be less verbose'],
- ['I:s@' => 'Same as perl\'s -I']
+ ['debug' => 'Print debug information'],
+ ['I:s@' => 'Same as perl\'s -I'],
)
);
@@ -87,8 +88,8 @@
);
}
-if($opts->{I}) {
- $opts->{include} = delete $opts->{I};
+if($opts->{i}) {
+ $opts->{include_dirs} = delete $opts->{i};
}
if($opts->{help}) {
@@ -99,10 +100,8 @@
if($opts->{connect}) {
$opts->{connect_info} = delete $opts->{connect};
}
-
my $admin = DBIx::Class::Admin->new( %$opts );
-
my $action = $opts->{action};
$action = $opts->{op} if ($action eq 'op');
More information about the Bast-commits
mailing list