managen: fix the option sort order

... it used to strip off the .d file extension to sort correctly but
ever since the extension changed to .md the operation failed and the
sort got wrong.

Follow-up to 2494b8dd51

Closes #13567
This commit is contained in:
Daniel Stenberg 2024-05-08 23:50:55 +02:00
parent e1cf21b5c2
commit a95fd86404
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -984,7 +984,7 @@ sub listglobals {
sub noext {
my $in = $_[0];
$in =~ s/\.d//;
$in =~ s/\.md//;
return $in;
}