commandlineparser / commandlineparser/commandline
When `IgnoreUnknownArguments` is true, do not assume any single-dash argument matches a correlating short character option
- 主要言語
- C#
- スター
- 4.8k
- フォーク
- 478
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Currently, Tokenizer will assume a match for a short option when it encounters a single-dash argument, when the first character matches. This is unexpected when `IgnoreUnknownArguments` is set to true--since it should ignore unknown arguments.
https://github.com/commandlineparser/commandline/blob/b0b0ec9f5470bacc0823c013a599ba3b4e115900/src/CommandLine/Core/Tokenizer.cs#L172-L183
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Review src/CommandLine/Core/Tokenizer.cs around lines 172-183 and trace how single-dash arguments are matched when IgnoreUnknownArguments is true. Confirm the change by checking that an unknown single-dash argument is ignored rather than correlated to a short option, while valid short options retain their behavior.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 48/100