Help string should not be output if it fails #810
Labels
bug
Something isn't working properly
confirmed
Prevent from becoming stale
good first issue
a good start point for new contributors
Description
The help string should only be output if incorrect parameters are specified and not if the command fails for other reasons.
Try 'semantic-release version -h' for help.
:That the help string is output every time, it's unclear whether you have made a mistake with the parameters yourself or whether the tool has failed for other reasons.
Use cases
For example: in --strict mode, so that a pipeline aborts if no release is created and twine does not attempt an upload and aborts because the dist folder has not been created.
Addendum: Is there a best practice on how to set this up? Strict-mode the correct choice?
The text was updated successfully, but these errors were encountered: