From f8ea3a3588b1fd09479364b01ab343dd8ac7f7ac Mon Sep 17 00:00:00 2001 From: Andinus Date: Mon, 3 Aug 2020 00:22:59 +0530 Subject: Fix help option --help was broken because it was being over-ridden by --h, now both should work. --- ara.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1-2-gfad0