commit aea980bca8b8bbf847d62a29f923902f51dd4160
parent 5980d3026ecba98d2aae1ec53427ea82a7075dcb
Author: J Pipkin <j@dawnrazor.net>
Date: Sun, 9 Sep 2012 02:51:58 -0500
fixed -> from Getopt::Long conversion
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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;