diff options
author | Andinus <andinus@nand.sh> | 2020-08-03 00:22:59 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-08-03 00:22:59 +0530 |
commit | f8ea3a3588b1fd09479364b01ab343dd8ac7f7ac (patch) | |
tree | d550782b04d8c9591d470e2cba1e3078daca5de2 | |
parent | 10744806d0ddc3f1a9e7ac4e18a702faa7dad770 (diff) | |
download | ara-f8ea3a3588b1fd09479364b01ab343dd8ac7f7ac.tar.gz |
Fix help option
--help was broken because it was being over-ridden by --h, now both should work.
-rwxr-xr-x | ara.pl | 2 |
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 |