|
@@ -38,7 +38,7 @@ use Getopt::Long qw(:config bundling);
|
|
|
my %options = (help => sub { usage(); exit 0; },
|
|
my %options = (help => sub { usage(); exit 0; },
|
|
|
version => \&version,
|
|
version => \&version,
|
|
|
type => undef,
|
|
type => undef,
|
|
|
- udeb => 0,
|
|
|
|
|
|
|
+ udeb => \&set_type_udeb,
|
|
|
arch => undef,
|
|
arch => undef,
|
|
|
multiversion => 0,
|
|
multiversion => 0,
|
|
|
);
|
|
);
|
|
@@ -66,6 +66,12 @@ Options:
|
|
|
"), $progname;
|
|
"), $progname;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+sub set_type_udeb()
|
|
|
|
|
+{
|
|
|
|
|
+ warning(_g("-u, --udeb option is deprecated (see README.feature-removal-schedule)"));
|
|
|
|
|
+ $options{type} = 'udeb';
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
sub load_override
|
|
sub load_override
|
|
|
{
|
|
{
|
|
|
my $override = shift;
|
|
my $override = shift;
|
|
@@ -115,8 +121,7 @@ if (not @ARGV >= 1 && @ARGV <= 3) {
|
|
|
usageerr(_g("1 to 3 args expected"));
|
|
usageerr(_g("1 to 3 args expected"));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-my $type = defined($options{type}) ? $options{type} :
|
|
|
|
|
- $options{udeb} ? 'udeb' : 'deb';
|
|
|
|
|
|
|
+my $type = defined($options{type}) ? $options{type} : 'deb';
|
|
|
my $arch = $options{arch};
|
|
my $arch = $options{arch};
|
|
|
|
|
|
|
|
my @find_args;
|
|
my @find_args;
|