diff options
| author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-04-16 17:21:28 +0200 |
|---|---|---|
| committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-04-16 17:21:28 +0200 |
| commit | 0a035d36fb6a225640d31162e4b348dacfa93f96 (patch) | |
| tree | e551ff0a6a8e0f20583b22a16213c5b708c3194b /sboclean | |
| parent | c1e7155333f1a86f90a7843e87bb1aa9145acdda (diff) | |
| download | sbotools2-0a035d36fb6a225640d31162e4b348dacfa93f96.tar.xz | |
Remove useless conditions from show_usage/version invocations
Diffstat (limited to 'sboclean')
| -rwxr-xr-x | sboclean | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -50,8 +50,8 @@ GetOptions( 'interactive|i' => \$interactive, ); -show_usage() and exit 0 if $help; -show_version() and exit 0 if $vers; +if ($help) { show_usage(); exit 0 } +if ($vers) { show_version(); exit 0 } usage_error("You must specify at least one of -d or -w.") unless ($clean_dist || $clean_work); |
