Skip to content

-v flag conflict between additional commands and default command #1479

@BCoskun

Description

@BCoskun

Information

  • V0.47 and 0.48 behavior change for -v flag.

Describe the bug
I was using -v short hand flag for sub command and it was working until V0.48 . With Version 0.48 parsing behavior changed and when we use -v for subcommand, it print application version directly.

To Reproduce
With Version 0.47 ConsoleApp.exe -v and ConsoleApp.exe subcommand -v has different behavior.
With Version 0.48 ConsoleApp.exe -v and ConsoleApp.exe subcommand -v has same behavior.

Expected behavior
The sub command -v should be parsed for the sub command context


Please upvote 👍 this issue if you are interested in it.

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

Status

Done 🚀

Relationships

None yet

Development

No branches or pull requests

Issue actions