diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-06-22 07:44:59 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-06-22 07:44:59 +0200 |
commit | 0f9fb54796d48eb8767aaa1bcc9f80861fe252b2 (patch) | |
tree | eae225fe081ce61f6f097218277db2f9e2d1699a /bin | |
parent | fb2c445922ec8e1bdb43ffc8a6592eafad5dfc90 (diff) |
apt-why: --deptype: Don't shift around
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/apt-why | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/apt-why b/bin/apt-why index 69802bf..20abd5c 100755 --- a/bin/apt-why +++ b/bin/apt-why @@ -14,7 +14,7 @@ my $all = 0; my @deptypes = ('Depends', 'Recommends', 'Suggests'); GetOptions( 'all!' => \$all, - 'deptype=s' => sub {shift; @deptypes = split(/,/, shift)}, + 'deptype=s' => sub {@deptypes = split(/,/, $_[1])}, 'depth=i' => \$max_depth, 'h|?|help' => \&usage, ); |