commandlineparser / commandlineparser/commandline

Clarify usage of boolean Options

Aberta
#702 22 comentários 17 reações 0 responsáveis Ver no GitHub
Linguagem predominante
C#
Estrelas
4.8k
Forks
478
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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?

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

Start with the Quick start sample in Readme.md and compare its boolean option syntax with the behavior described in the issue. Check the relevant command-line option documentation or examples to establish the supported forms and defaults. Done means the sample and accompanying explanation no longer imply unsupported true/false value handling.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
csharp
Domínio
cli, documentation
Tipo de issue
Documentação
Dificuldade
2/5
Tempo estimado
1-3 horas
Status de atividade
Pouca atividade
Clareza
Razoavelmente clara
Facilidade para iniciantes
58/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.