diff options
author | J Pipkin <j@dawnrazor.net> | 2012-09-09 02:51:58 -0500 |
---|---|---|
committer | J Pipkin <j@dawnrazor.net> | 2012-09-09 02:51:58 -0500 |
commit | aea980bca8b8bbf847d62a29f923902f51dd4160 (patch) | |
tree | 7cc52e7106de371b5fa7ad3fe79d264bb58ae904 | |
parent | 5980d3026ecba98d2aae1ec53427ea82a7075dcb (diff) | |
download | sbotools2-aea980bca8b8bbf847d62a29f923902f51dd4160.tar.xz |
fixed -> from Getopt::Long conversion
-rwxr-xr-x | sbosnap | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |