Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Set bin_name and disable version option for subcommands #544

Merged
merged 3 commits into from
May 17, 2024

Conversation

PaulYuuu
Copy link
Contributor

bin_name will be displayed in the SYNOPSIS section, with this, the
generated man pages have correct name and synopsis.

Also, remove .title("bootc") to let the subcommands have their own
titles.

Subcommands don't have their own versions, so disable the "version"
option.

Signed-off-by: Yihuang Yu yihyu@redhat.com

`bin_name` will be displayed in the `SYNOPSIS` section, with this, the
generated man pages have correct name and synopsis.

Also, remove `.title("bootc")` to let the subcommands have their own
titles.

Signed-off-by: Yihuang Yu <yihyu@redhat.com>
Subcommands don't have their own versions, so disable the "version"
option.

Signed-off-by: Yihuang Yu <yihyu@redhat.com>
Signed-off-by: Yihuang Yu <yihyu@redhat.com>
@PaulYuuu
Copy link
Contributor Author

Well, I don't know if I need to generate those markdown files, but let me generate them for preview.

Copy link
Collaborator

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks!

@cgwalters cgwalters merged commit 1f0c19a into containers:main May 17, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants