commit f8d49a5b2424b9abba30083017fa6435f4ba6343 parent 0c9c086c92595f4848686c861863365267498aab Author: Andreas Guldstrand <andreas.guldstrand@gmail.com> Date: Sat, 16 Apr 2016 18:32:26 +0200 Rewrite another show_usage invocation Diffstat:
| M | sboconfig | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sboconfig b/sboconfig @@ -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;