[libcode-tidyall-perl] 57/374: remove only_plugins, add mode

Jonas Smedegaard js at alioth.debian.org
Sun Sep 29 22:25:48 UTC 2013


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libcode-tidyall-perl.

commit 3f9fd7d14c394d1b59675ed3a5297e71b5d69f12
Author: Jonathan Swartz <swartz at pobox.com>
Date:   Fri Jun 29 09:43:07 2012 -0700

    remove only_plugins, add mode
---
 bin/tidyall |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/bin/tidyall b/bin/tidyall
index 3a9be3a..7fadc6b 100755
--- a/bin/tidyall
+++ b/bin/tidyall
@@ -23,13 +23,13 @@ GetOptions(
     'data-dir=s'      => \$params{data_dir},
     'no-backups'      => \$params{no_backups},
     'no-cache'        => \$params{no_cache},
-    'only-plugins=s'  => \$params{only_plugins},
     'output-suffix=s' => \$params{output_suffix},
     'refresh-cache'   => \$params{refresh_cache},
     'root-dir=s'      => \$params{root_dir},
     'tidyall-class=s' => \$params{tidyall_class},
     'a|all'           => \$all,
     'h|help'          => \$help,
+    'm|mode=s'        => \$params{mode},
     'q|quiet'         => \$params{quiet},
     'v|verbose'       => \$params{verbose},
 ) or usage();
@@ -39,7 +39,6 @@ Pod::Usage::pod2usage( { verbose => 2 } ) if $help;
 %params = slice_def( \%params );
 
 $params{conf_file} ||= "$params{root_dir}/tidyall.ini" if ( $params{root_dir} );
-$params{only_plugins} = [ split( /\s*,\s*/, $params{only_plugins} ) ] if $params{only_plugins};
 
 my $result;
 if ($all) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcode-tidyall-perl.git



More information about the Pkg-perl-cvs-commits mailing list