commandlineparser / commandlineparser/commandline

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

Open
#752 0 comments 6 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.8k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.