about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-08-03 00:22:59 +0530
committerAndinus <andinus@nand.sh>2020-08-03 00:22:59 +0530
commitf8ea3a3588b1fd09479364b01ab343dd8ac7f7ac (patch)
treed550782b04d8c9591d470e2cba1e3078daca5de2
parent10744806d0ddc3f1a9e7ac4e18a702faa7dad770 (diff)
downloadara-f8ea3a3588b1fd09479364b01ab343dd8ac7f7ac.tar.gz
Fix help option
--help was broken because it was being over-ridden by --h, now both
should work.
-rwxr-xr-xara.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ara.pl b/ara.pl
index 16af5f9..5c30319 100755
--- a/ara.pl
+++ b/ara.pl
@@ -69,7 +69,7 @@ GetOptions(
     "hide=s{1,}" => \@to_hide, # Getopt::Long docs say that this is an
                                # experimental feature with a warning.
     "show=s{1,}" => \@to_show,
-    "help", "h" => sub { HelpMessage() },
+    "help|h" => sub { HelpMessage() },
 ) or die "Error in command line arguments\n";
 
 if ( $use_local_file