Skip to content

Commit

Permalink
fix: remove redundant debug flag
Browse files Browse the repository at this point in the history
  • Loading branch information
majori committed Aug 9, 2024
1 parent 6658b3b commit 2cd5553
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/cli/option/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ import (
)

type Common struct {
Debug bool
NoColors bool
NoInput bool
}

func (opts *Common) ApplyFlags(fs *pflag.FlagSet) {
fs.BoolVar(&opts.Debug, "debug", false, "Debug mode")
fs.BoolVar(&opts.NoColors, "no-color", false, "If specified, output won't contain any color")
fs.BoolVar(&opts.NoInput, "no-input", false, "If set to true, the program will exit with an error code if it needs to wait for any user input. This is useful when running the program in CI/CD environment")
}
Expand Down

0 comments on commit 2cd5553

Please sign in to comment.