Previously installman specified synonyms for options as distinct
options, and then used explicit code to merge them.
Also add -h and -? as synonyms for --help.
GetOptions( \%opts,
qw( man1dir=s man1ext=s man3dir=s man3ext=s
- destdir:s notify n help silent S verbose V))
+ destdir:s notify|n help|h|? silent|S verbose|V))
|| die $usage;
die $usage if $opts{help};
$opts{destdir} //= '';
$opts{"${pre}dir"} //= $opts{destdir} . $Config{"install${pre}dir"};
$opts{"${pre}ext"} //= $Config{"${pre}ext"};
}
-$opts{silent} ||= $opts{S};
-$opts{notify} ||= $opts{n};
-$opts{verbose} ||= $opts{V} || $opts{notify};
+$opts{verbose} ||= $opts{notify};
#Sanity checks