commandlineparser / commandlineparser/commandline

Clarify usage of boolean Options

Aperta
#702 22 commenti 17 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

The Quick start sample in Readme.md gives the impression that boolean parameter can be specified with either a true or false value. However my attemps have given the following:

- whenever the parameter exists on the commandline the value will always be true
- omitting the parameter will set it to tits default value.
- trying to specify either True or False as value is ignored.
- having default value of true will always have the Option value set to true

Is this how it is supposed to work?

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.