commandlineparser / commandlineparser/commandline

Display help without requiring ParseArguments

Open
#59 7 comments 2 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.8k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

**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`?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.