Tyrrrz / CliFx

Class-first framework for building command-line interfaces
MIT License
1.48k stars 60 forks source link

Validate that option name contains more than 1 character #40

Closed Tyrrrz closed 4 years ago

Tyrrrz commented 4 years ago

Currently it's possible to create an option with a name consisting of only 1 character. This should not be allowed because only short names can have 1 character. Commands with such options should fail validation.