commandlineparser / commandlineparser/commandline

Display help without requiring ParseArguments

オープン
#59 コメント 7 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
C#
スター
4.8k
フォーク
478
PR マージ指標
30日以内にマージされた PR はありません

説明

**Issue by [Steve887](https://github.com/Steve887)**
_Wednesday Jan 20, 2016 at 01:30 GMT_
_Originally opened as https://github.com/gsscoder/commandline/issues/281_

----

I'm trying to print the help text for my options without having to force a parser error.

Currently, it seems the only way to print the help text is to call something like

```
Parser.Default.ParseArguments(new string[] { "verb", "--help" });
```

I see there's `HelpText.AutoBuild` but that seems to require a NotParsed result.

Is there a way to write the help text for an options class without having to parse arguments? Maybe something like `HelpText.DisplayHelp`?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。