mirror of
https://github.com/coalaura/ffwebp.git
synced 2025-07-17 13:54:36 +00:00
cleanup
This commit is contained in:
@ -75,7 +75,6 @@ func main() {
|
||||
|
||||
if err := app.Run(context.Background(), os.Args); err != nil {
|
||||
logx.Errorf("fatal: %v", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,7 @@ func (impl) Flags(flags []cli.Flag) []cli.Flag {
|
||||
Destination: &compression,
|
||||
Validator: func(value int) error {
|
||||
if value < 0 || value > 3 {
|
||||
return fmt.Errorf("invalid compression level: %q", value)
|
||||
return fmt.Errorf("invalid compression level: %d", value)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user