Use usage template in subcommand help#1986
Merged
Conversation
to remove (confusing) difference between templates. Closes #1879
suzuki-shunsuke
approved these changes
Oct 14, 2024
Juneezee
approved these changes
Oct 14, 2024
Contributor
|
@meatballhat Do we need to display different formats depending on whether there are subcommands? For example, fix the |
Member
Author
|
@vimiix good point! I'd like to see if that logic can be part of |
dearchap
approved these changes
Oct 14, 2024
1 task
rvagg
added a commit
to filecoin-project/lotus
that referenced
this pull request
Oct 6, 2025
rvagg
added a commit
to filecoin-project/lotus
that referenced
this pull request
Oct 6, 2025
) * build(deps): bump github.com/urfave/cli/v2 from 2.27.5 to 2.27.7 Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.27.5 to 2.27.7. - [Release notes](https://github.com/urfave/cli/releases) - [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md) - [Commits](urfave/cli@v2.27.5...v2.27.7) --- updated-dependencies: - dependency-name: github.com/urfave/cli/v2 dependency-version: 2.27.7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * fix: update cli docs (docsgen-cli) Ref: urfave/cli#1986 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rod Vagg <rod@vagg.org>
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.
What type of PR is this?
What this PR does / why we need it:
Use existing usage template in subcommand help to remove (confusing) difference between templates.
Which issue(s) this PR fixes:
Closes #1879