commandlineparser / commandlineparser/commandline

Display help without requiring ParseArguments

Abierto
#59 7 comentarios 2 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
C#
Estrellas
4.8k
Forks
478
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.