1
0
mirror of https://github.com/coalaura/ffwebp.git synced 2025-07-17 13:54:36 +00:00
This commit is contained in:
Laura
2025-06-19 17:42:48 +02:00
parent 3f32af7028
commit 9321134e9d
3 changed files with 2 additions and 3 deletions

View File

@ -75,7 +75,6 @@ func main() {
if err := app.Run(context.Background(), os.Args); err != nil {
logx.Errorf("fatal: %v", err)
os.Exit(1)
}
}

View File

@ -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

View File

@ -3,4 +3,4 @@
echo Rebuilding...
go build -tags full -o ffwebp.exe .\cmd\ffwebp
.\ffwebp.exe %*
.\ffwebp.exe %*