Skip to content

--version not showing version when default command set #1216

@yufeih

Description

@yufeih

Information

  • OS: [all]
  • Version: [0.46.0]

To Reproduce

  • Set default command using SetDefaultCommand
  • Run mycmd --version
  • Version not shown

Expected behavior
Shows version instead of executing default command

Additional context

Seemingly caused by this check

Metadata

Metadata

Assignees

Labels

⭐ top bugTop bug.area-CLICommand-Line InterfacebugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions