Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request juju#17745 from gfouillet/docfix/short_flag_with_t…
…wo_dashes juju#17745 - Before this commit, documentation generation was broken due to a bug on juju/cmd: short flag were suffixed by two dashes in documentation, instead of one (ex: `--B, -no-browser-login`) - After this commit, documentation generation is fixed regarding that issue (ex: `-B, -no-browser-login`) See also: https://github.com/juju/cmd/releases/tag/v3.0.15 <!-- The PR title should match: <type>(optional <scope>): <description>. Please also ensure all commits in this PR comply with our conventional commits specification: https://docs.google.com/document/d/1SYUo9G7qZ_jdoVXpUVamS5VCgHmtZ0QA-wZxKoMS-C0 --> <!-- Why this change is needed and what it does. --> ## Checklist <!-- If an item is not applicable, use `~strikethrough~`. --> - ~[ ] Code style: imports ordered, good names, simple structure, etc~ - ~[ ] Comments saying why design decisions were made~ - ~[ ] Go unit tests, with comments saying what you're testing~ - ~[ ] [Integration tests](https://github.com/juju/juju/tree/main/tests), with comments saying what you're testing~ - ~[ ] [doc.go](https://discourse.charmhub.io/t/readme-in-packages/451) added or updated in changed packages~ ## QA steps ```sh juju documentation --split --out=./docs ``` Check that the mono-character flags in generated markdown are prefixed by only one dash. ## Documentation changes <!-- How it affects user workflow (CLI or API). --> Will allows to regenerate the doc correctly. ## Links <!-- Link to all relevant specification, documentation, bug, issue or JIRA card. --> **Jira card:** [JUJU-6296](https://warthogs.atlassian.net/browse/JUJU-6319), JUJU-6296](https://warthogs.atlassian.net/browse/JUJU-6319) [JUJU-6296]: https://warthogs.atlassian.net/browse/JUJU-6296?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
- Loading branch information