From aea980bca8b8bbf847d62a29f923902f51dd4160 Mon Sep 17 00:00:00 2001 From: J Pipkin Date: Sun, 9 Sep 2012 02:51:58 -0500 Subject: fixed -> from Getopt::Long conversion --- sbosnap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbosnap b/sbosnap index df380cf..cdd9104 100755 --- a/sbosnap +++ b/sbosnap @@ -40,10 +40,10 @@ show_usage and exit 1 unless exists $ARGV[0]; my ($help, $vers); -GetOptions ('help|h' => \$help, 'version|v' => \$version); +GetOptions ('help|h' => \$help, 'version|v' => \$vers); show_usage and exit 0 if $help; -show_version and exit 0 if $version; +show_version and exit 0 if $vers; # check for a command and, if found, execute it my $command; -- cgit v1.2.3