commandlineparser / commandlineparser/commandline

Constructor OptionAttribute(char, string) although property ShortName is string

Aperta
#752 0 commenti 6 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
4.8k
Fork
478
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The current constructor of ```OptionAttribute``` only allows for 1 character shortName, although the property ```ShortName``` itself is of type ```string```. Which prevents us from creating options with more than 1 character, though that might be useful in order to make the short name parameter name of similar options _(more)_ memorable for the user, e.g.

```
"fn", "filename"
"fs", "filesize"
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.