Skip to content

Commit

Permalink
main: add example --progress values in the help string
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mvo5 authored and pull[bot] committed Jan 8, 2025
1 parent ddb4a5c commit 8db4593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bib/cmd/bootc-image-builder/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ func buildCobraCmdline() (*cobra.Command, error) {
buildCmd.Flags().String("output", ".", "artifact output directory")
buildCmd.Flags().String("store", "/store", "osbuild store for intermediate pipeline trees")
//TODO: add json progress for higher level tools like "podman bootc"
buildCmd.Flags().String("progress", "", "type of progress bar to use")
buildCmd.Flags().String("progress", "", "type of progress bar to use (e.g. plain,term)")
// flag rules
for _, dname := range []string{"output", "store", "rpmmd"} {
if err := buildCmd.MarkFlagDirname(dname); err != nil {
Expand Down

0 comments on commit 8db4593

Please sign in to comment.