commandlineparser / commandlineparser/commandline

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

Offen
#752 0 Kommentare 6 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
4.8k
Forks
478
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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"
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.