Skip to content

Conversation

@tico88612
Copy link
Contributor

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

Fix #387

Here's how I see the issue #387, though I'm not entirely sure.

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
// Regular ol `command` with no args will get caught by DefaultCommand. --help
// on the root command will land here.
let containsHelp = fullArgs.contains("-h") || fullArgs.contains("--help")
let containsHelp = fullArgs.contains("-h") || fullArgs.contains("--help") || fullArgs.contains("help")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happens if I run:

container --debug help

Thanks, this is a good start! Perhaps extract containsHelp() into a private method that works for all the possibilities you can think of.

@jglogan
Copy link
Contributor

jglogan commented Jan 22, 2026

@tico88612 Could you also rebase onto the current main? Our action runners got updated and you'll need the new workflows for your PR to build. Thanks!

@tico88612
Copy link
Contributor Author

@jglogan I will update this later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: container --help shows an installed CLI plugin but container help does not.

2 participants