commandlineparser / commandlineparser/commandline

Display help without requiring ParseArguments

Ouverte
#59 7 commentaires 2 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C#
Étoiles
4.8k
Forks
478
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.