summaryrefslogtreecommitdiff
path: root/bin/efa
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-05-13 15:09:22 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-05-13 15:09:22 +0200
commit804ad75a067f5d7f1b327da94a31d42f43b78226 (patch)
treeb64ab0a115a55ac06a348b7598f732966dd9bc62 /bin/efa
parentb4661dde93b7f23422b7982a4c23d1af581b6e7b (diff)
Die upon invalid options
Diffstat (limited to 'bin/efa')
-rwxr-xr-xbin/efa3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/efa b/bin/efa
index f9fc71e..a8ee155 100755
--- a/bin/efa
+++ b/bin/efa
@@ -227,7 +227,8 @@ GetOptions(
'via=s{2}' => \@via,
'via-type=s' => \$via_type,
'w|walk-speed=s' => \$walk_speed,
-);
+
+) or die("Please see $0 --help\n");
@exclude = split(/,/, join(',', @exclude));