in reply to Re^2: Is there a way to order --help argument list output by getopt?
in thread Is there a way to order --help argument list output by getopt?

The -h also sometimes appears mixed with the other options:

creates commands for a dzil profile minted with "cli" -d STR --dir STR directory where distribution is located -c STR --cmd STR command name -h -? --usage --help Prints this usage information. -s STR... --subcmd STR... subcommands to create

If I switch one of the options to -h as well, I get this:

creates commands for a dzil profile minted with "cli" -h STR --dir STR directory where distribution is located -c STR --cmd STR command name -h -? --usage --help Prints this usage information. -s STR... --subcmd STR... subcommands to create

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

Replies are listed 'Best First'.
Re^4: Is there a way to order --help argument list output by getopt?
by LanX (Saint) on Feb 04, 2018 at 12:55 UTC

      OK, I will. Thanks. Do you know offhand how regular getopt lists the arguments?

      $PM = "Perl Monk's";
      $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
      $nysus = $PM . ' ' . $MCF;
      Click here if you love Perl Monks