commandlineparser / commandlineparser/commandline

Control over Help Text Headers

Aperta
#248 0 commenti 4 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
4.8k
Fork
478
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

When (and only when) the help text is shown, it adds the application name, version, and copyright info before writing the options details. However, I'd either like to include with every run, or exclude it completely so I can output my own info. However, I can't figure out how to do that.

I'm just using the default ParseArguments/MapResult code:

`
return Parser.Default.ParseArguments(args)
.MapResult(
(AddOptions opts) => RunAddAndReturnExitCode(opts),
(CommitOptions opts) => RunCommitAndReturnExitCode(opts),
(CloneOptions opts) => RunCloneAndReturnExitCode(opts),
errs => 1);
`

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.