commandlineparser / commandlineparser/commandline

Control over Help Text Headers

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

Description

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);
`

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.