they are correctly handled when parsing the command
my_cli hello -f Loki Thor
from: Loki
Hello Thor
However the usage information does not include the dash. This PR fixes that by moving alias normalization to happen sooner, so it applies to both the usage information generator and the actual command:
my_cli help hello
Usage:
my_cli hello NAME
Options:
- f, [--from=FROM]
+ -f, [--from=FROM]
say hello to NAME
🌈
When option aliases are specified without dashes
they are correctly handled when parsing the command
However the usage information does not include the dash. This PR fixes that by moving alias normalization to happen sooner, so it applies to both the usage information generator and the actual command: