Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for numbers as short options #934

Open
nicolasr75 opened this issue Aug 14, 2024 · 0 comments
Open

Support for numbers as short options #934

nicolasr75 opened this issue Aug 14, 2024 · 0 comments

Comments

@nicolasr75
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant