chore: remove fmt.Println

main
sudo pacman -Syu 2022-11-24 23:40:05 +07:00
parent adb54bb92b
commit 074f0c3009
No known key found for this signature in database
GPG Key ID: D6CB5C6C567C47B0
2 changed files with 1 additions and 4 deletions

View File

@ -1,8 +1,6 @@
package cli
import (
"fmt"
"github.com/urfave/cli/v2"
)
@ -33,7 +31,6 @@ func (a *action) Run(c *cli.Context) error {
return err
}
fmt.Println("Error: -w or -d must required one")
return nil
}

View File

@ -16,7 +16,7 @@ const (
flagListUsage = "list files will be changed"
flagWriteName = "write"
flagWriteUsage = "actually write changes to (source) files"
flagWriteUsage = "actually write changes to (source) files, conflicts with -d, only one of -w or -d can be used"
// If both write and diff is exist
// Choose diff