commandlineparser / commandlineparser/commandline

Support for numbers as short options

Aperta
#934 0 commenti 3 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

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?

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.