commandlineparser / commandlineparser/commandline

Clarify usage of boolean Options

未关闭
#702 22 条评论 17 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
4.8k
派生
478
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 Readme.md 中的 Quick start 示例开始,将其布尔选项语法与 issue 中描述的行为进行比较。检查相关的命令行选项文档或示例,以确定受支持的形式和默认值。当示例及其附带说明不再暗示支持处理不受支持的 true/false 值时,即完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
csharp
领域
cli, documentation
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
冷清
描述清晰度
基本清楚
新手友好度
58/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。