You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error should be "Unknown command add-paritions" (it is misspelled) rather than a complaint about the flag, which is correct for the (correctly spelled) command.
If this is something that we need, we may go with the above approach and interrupt in each command, or another thing that we could do is to add additional info in the flag errors, e.g:
I agree this is more in the guts of cobra. Perhaps long term we can evaluate switching away from cobra (which has a bunch of other challenging nuts&bolts we currently work around / with). For now, I think we can wait for the two cobra issues linked above for now and leave this open.
Version & Environment
Redpanda version: 21.11.10
What went wrong?
Consider the following command and error output:
What should have happened instead?
The error should be "Unknown command add-paritions" (it is misspelled) rather than a complaint about the flag, which is correct for the (correctly spelled) command.
How to reproduce the issue?
JIRA Link: CORE-890
The text was updated successfully, but these errors were encountered: