Help output correctly decides when to show the version option#1664
Merged
patriksvensson merged 3 commits intospectreconsole:mainfrom Apr 8, 2025
Merged
Conversation
This was referenced Oct 9, 2024
9919872 to
dae2041
Compare
Contributor
Author
Fully implemented and ready for reviewImportant: Please see the comment at the top of the issue description ahead of merging. |
patriksvensson
approved these changes
Apr 8, 2025
…hould (and shouldn't) appear in the help output
47f3703 to
503e47c
Compare
This was referenced Jul 22, 2025
This was referenced Feb 16, 2026
This was referenced Feb 24, 2026
Closed
Open
This was referenced Mar 4, 2026
This was referenced Mar 12, 2026
This was referenced Mar 20, 2026
This was referenced Mar 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is part of a series of CLI bug fixes/enhancements intended to be released prior to Spectre.Console V1.0
They should be individually reviewed and merged (and then the open ones rebased) in the following order, given they have been successively branched from each other (Rationale: earlier changes, particularly to CommandExecutor, are relied upon later). Separate PRs should aid the reviewer.
fixes #1567, #1479
Changes
Version information applies to the entire CLI application.
Whether to show the "-v|--version" option in the help is determined as per:
Please upvote 👍 this pull request if you are interested in it.