commandlineparser / commandlineparser/commandline

Clarify usage of boolean Options

Ouverte
#702 22 commentaires 17 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C#
Étoiles
4.8k
Forks
478
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.