Skip to content
This repository was archived by the owner on Jan 2, 2021. It is now read-only.

Help Option does not work for top-level help #11

Closed
agc93 opened this issue Oct 31, 2017 · 1 comment · Fixed by #118
Closed

Help Option does not work for top-level help #11

agc93 opened this issue Oct 31, 2017 · 1 comment · Fixed by #118
Labels

Comments

@agc93
Copy link

agc93 commented Oct 31, 2017

Running a Spectre-enabled app without any arguments shows the help text and available commands. Likewise, running an individual command with the help switches set in SetHelpOption shows the help for the command.

However, I would expect that using the same option (from SetHelpOption) with the top-level executable should also display available commands etc, same as running without any arguments does.

That is, I would say that running:

MyConsoleApp

and

MyConsoleApp --help

...should give the same output.

Sample repo included here

@patriksvensson
Copy link
Member

Resolved in version 0.6.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants