Closed kirederik closed 6 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/150083279
The labels on this github issue will be updated when the story is started.
@kirederik Thanks for bringing up this issue! I've added this to our tracker backlog!
This looks to be a bug in our dependent library https://github.com/jessevdk/go-flags.
Would you like us to file this on their issue page or would you like to so that you can continue to track this?
Closing this for now.
When you run a subcommand with a wrong flag, the CLI gives you a nice error:
But if the flag is a valid global flag, the CLI doesn't error:
Would be nice to have a similar error message rather than parsing the global flag.