diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-04-16 18:32:26 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-04-16 18:32:26 +0200 |
commit | f8d49a5b2424b9abba30083017fa6435f4ba6343 (patch) | |
tree | b2e1e156bff4f6cafa9601965ef1ccb1bc419588 | |
parent | 0c9c086c92595f4848686c861863365267498aab (diff) | |
download | sbotools2-f8d49a5b2424b9abba30083017fa6435f4ba6343.tar.xz |
Rewrite another show_usage invocation
-rwxr-xr-x | sboconfig | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -90,7 +90,10 @@ if (exists $options{list}) { exit 0; } -show_usage() and exit 0 unless keys %options > 0; +if (not %options) { + show_usage(); + exit 0; +} # setup what's being changed, sanity check. my %changes; |