diff options
-rwxr-xr-x | bin/apt-why | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/apt-why b/bin/apt-why index 0c67cb6..195d7bd 100755 --- a/bin/apt-why +++ b/bin/apt-why @@ -13,7 +13,6 @@ my $all = 0; my $tabwidth; my $tabsign = "\t"; my @deptypes = qw/Depends Recommends Suggests/; -my $packagename = shift or die("Usage: $0 [options] <package>; see $0 --help\n"); my @known; sub usage { @@ -65,6 +64,8 @@ GetOptions( 'h|?|help' => \&usage, ); +my $packagename = shift or die("Usage: $0 [options] <package>; see $0 --help\n"); + if (defined $tabwidth) { $tabsign = ' ' x $tabwidth; } |