commandlineparser / commandlineparser/commandline

Support for numbers as short options

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

Description

We have the following options definition:

[Option('1', "readlog1", HelpText = "Reads log entries from the Log 1 memory.")]
public bool ReadLog1 { get; set; }

[Option('2', "readlog2", HelpText = "Reads log entries from the Log 2 memory.")]
public bool ReadLog2 { get; set; }

It looks like the short options don't work because they are numbers.
Is there any special reason for this?

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.