chore: remove fmt.Println
parent
adb54bb92b
commit
074f0c3009
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue