commandlineparser / commandlineparser/commandline

Possibility to turn off or customize version/help option

未關閉
#87 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
C#
星號
4.8k
分支
478
PR 合併指標
30 天內沒有已合併 PR

描述

**Issue by [ptylenda](https://github.com/ptylenda)**
_Monday Sep 19, 2016 at 14:43 GMT_
_Originally opened as https://github.com/gsscoder/commandline/issues/351_

----

It would be a good idea to make it possible to turn off (or at least customize) version and help options, probably via an attribute for the options class. This especially concerns version option - we are migrating from old custom parsers to the CommandLine library and we have noticed that it conflicts with our custom version option (-v, --version). This option is unrelated to version of an application, it concerns version of a file being processed by the executable. In our case it is not possible to use a different option name as we have to maintain 100% backward compatibility inside an enterprise system. Fortunately this "conflict" seems to be only visible in the help screen, when both our custom option and the default option are displayed at once.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。