diff options
author | Daniel Friesel <derf@finalrewind.org> | 2010-11-14 13:34:33 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2010-11-14 13:34:33 +0100 |
commit | 39a157f8f598c5d60c8b4429cf39598bfdf9ecb7 (patch) | |
tree | a2aa0918303275ce80a367a109fa4d78b11a439b /bin/icli | |
parent | 74fd74de5724dae4d7ba399b06cde9c1be9604e1 (diff) |
icli: Die upon invalid options
Diffstat (limited to 'bin/icli')
-rwxr-xr-x | bin/icli | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -357,7 +357,8 @@ GetOptions( 'v|verbose+' => \$verbosity, 'V|version' => sub { say "icli version $VERSION"; exit 0 }, 'x|critical-only' => \$short, -); +) + or die("Please see perldoc -F $0 for help\n"); read_objects($status_file, \$data); read_objects($config_file, \$config); |