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

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions