Title: Help string should not be output if it fails · Issue #810 · python-semantic-release/python-semantic-release · GitHub
Open Graph Title: Help string should not be output if it fails · Issue #810 · python-semantic-release/python-semantic-release
X Title: Help string should not be output if it fails · Issue #810 · python-semantic-release/python-semantic-release
Description: 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.: $ semantic-release --strict version 5.2.10 Usage: semant...
Open Graph Description: 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.: $ semantic-relea...
X Description: 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.: $ semant...
Opengraph URL: https://github.com/python-semantic-release/python-semantic-release/issues/810
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Help string should not be output if it fails","articleBody":"## Description\r\n\r\nThe help string should only be output if incorrect parameters are specified and not if the command fails for other reasons.\r\n\r\n`Try 'semantic-release version -h' for help.`:\r\n```\r\n$ semantic-release --strict version\r\n5.2.10\r\nUsage: semantic-release version [OPTIONS]\r\nTry 'semantic-release version -h' for help.\r\nError: No release will be made, 5.2.10 has already been released!\r\n```\r\n\r\nThat 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.\r\n\r\n## Use cases\r\n\r\nFor 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.\r\n\r\nAddendum: Is there a best practice on how to set this up? Strict-mode the correct choice?\r\n\r\n","author":{"url":"https://github.com/rosaLux161","@type":"Person","name":"rosaLux161"},"datePublished":"2024-01-18T09:50:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/810/python-semantic-release/issues/810"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:60d7b150-31a7-8e55-6f25-abf03d8ea361 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA62:1F4D74:15CFC18:1B60FEF:69916EBE |
| html-safe-nonce | afe3a5c859334c892a47e0bc97a9dde4a25b036bd7fbb5606b7d1c5de310e500 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTYyOjFGNEQ3NDoxNUNGQzE4OjFCNjBGRUY6Njk5MTZFQkUiLCJ2aXNpdG9yX2lkIjoiNDU4MjYxMzIxOTA2ODE3ODExMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2c7a56134ea945cba0efc66b120ea52149ae9de38c9251d1c3ffea991159a954 |
| hovercard-subject-tag | issue:2087911548 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-semantic-release/python-semantic-release/810/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3306a4e7054098dc27203846a9f71af4abbee2d0c73aa5303df38cd8a88b3622/python-semantic-release/python-semantic-release/issues/810 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3306a4e7054098dc27203846a9f71af4abbee2d0c73aa5303df38cd8a88b3622/python-semantic-release/python-semantic-release/issues/810 |
| og:image:alt | 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.: $ semantic-relea... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rosaLux161 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/python-semantic-release/python-semantic-release git https://github.com/python-semantic-release/python-semantic-release.git |
| octolytics-dimension-user_id | 116517554 |
| octolytics-dimension-user_login | python-semantic-release |
| octolytics-dimension-repository_id | 39765732 |
| octolytics-dimension-repository_nwo | python-semantic-release/python-semantic-release |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 39765732 |
| octolytics-dimension-repository_network_root_nwo | python-semantic-release/python-semantic-release |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width