Skip to content

Commit

Permalink
Merge pull request #28 from dentcat/master
Browse files Browse the repository at this point in the history
Actually exit after printing version message
  • Loading branch information
Brice Figureau committed May 29, 2014
2 parents 2a88556 + 9f36c4a commit 1d0b409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysql-snmp
Expand Up @@ -1104,7 +1104,7 @@ sub run
'man',
'usage',
'verbose|v+',
'version|V' => sub {VersionMessage()},
'version|V' => sub {VersionMessage(); exit 0;},
) or pod2usage(-verbose => 0);

pod2usage(-verbose => 0) if $opt{usage};
Expand Down

0 comments on commit 1d0b409

Please sign in to comment.