cobra icon indicating copy to clipboard operation
cobra copied to clipboard

[issue #340] Don't display usage on a returned error by a RunE function

Open pierre-emmanuelJ opened this issue 6 years ago • 3 comments

Signed-off-by: Pierre-Emmanuel Jacquier [email protected]

I want to solve this issue: https://github.com/spf13/cobra/issues/340

This is a good point ! I have also add a flag ShowRunErrorUsage to do like before !

pierre-emmanuelJ avatar Jul 04 '18 12:07 pierre-emmanuelJ

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 04 '18 12:07 CLAassistant

This PR is being marked as stale due to a long period of inactivity

github-actions[bot] avatar Apr 10 '20 00:04 github-actions[bot]

This should make it in -- this is unexpected behavior as-is.

tmc avatar May 21 '21 00:05 tmc