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

main,README: improve docs around --progress #776

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mvo5
Copy link
Collaborator

@mvo5 mvo5 commented Jan 6, 2025

This PR adds some missing documentation around the new --progress switch. This hopefully helps with the questions/uncertainty raised in e.g. #765

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
achilleas-k
achilleas-k previously approved these changes Jan 6, 2025
@achilleas-k achilleas-k enabled auto-merge January 6, 2025 13:16
ondrejbudai
ondrejbudai previously approved these changes Jan 6, 2025
Copy link
Member

@ondrejbudai ondrejbudai left a comment

Choose a reason for hiding this comment

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

Love this, thanks! :)

mvo5 added 4 commits January 7, 2025 13:37
This commit adds the two most useful progress types (as of today)
to the help string of `--progress`: plain and term.

This should make the usage a bit more discoverable.
This commit adds the missing documentation for `--progress` in the
README. Not having this lead to some confusion, e.g. in questions
in osbuild#765 that
a better README would have avoided. Hopefully this answers the
questions :)
Previously an empty string in `--progress` meant to "auto-select".
But that is not super intuitive so this commit makes it explicit
using "auto".

Thanks to Achilleas for the suggestion.
This commit renames the "plain" progress to "verbose" progress. The
new name is closer to what the intention of the this progress is
and easier for the users to understand.

Thanks to Ondrej for the suggestion.
@mvo5 mvo5 dismissed stale reviews from ondrejbudai and achilleas-k via c464069 January 7, 2025 13:42
@mvo5
Copy link
Collaborator Author

mvo5 commented Jan 7, 2025

Sorry, had to force push to fix a test failure, please re-review.

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.

3 participants