aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ Pipkin <j@dawnrazor.net>2012-09-09 02:51:58 -0500
committerJ Pipkin <j@dawnrazor.net>2012-09-09 02:51:58 -0500
commitaea980bca8b8bbf847d62a29f923902f51dd4160 (patch)
tree7cc52e7106de371b5fa7ad3fe79d264bb58ae904
parent5980d3026ecba98d2aae1ec53427ea82a7075dcb (diff)
downloadsbotools2-aea980bca8b8bbf847d62a29f923902f51dd4160.tar.xz
fixed -> from Getopt::Long conversion
-rwxr-xr-xsbosnap4
1 files 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;