Make pull-debian-source exit 0 on help, so tests pass again.

This commit is contained in:
Stefano Rivera 2010-12-25 18:05:12 +02:00
parent e39a3565e5
commit 18d02c4c39

View File

@ -33,8 +33,8 @@ GetOptions('h|help' => \$help,
'm|mirror=s' => \$mirror,
'no-conf' => \$no_conf,
);
my($package) = $ARGV[0] || &usage(2);
&usage(0) if($help);
my($package) = $ARGV[0] || &usage(2);
if (! $no_conf) {
my($shell_cmd);