fix: remove testing code, fix version print, change watch conf place
This commit is contained in:
@ -41,8 +41,8 @@ func AddFlags(fs *pflag.FlagSet) {
|
||||
}
|
||||
|
||||
func PrintVersion() {
|
||||
fmt.Printf("%s\n", version.Get().String())
|
||||
if *doPrint {
|
||||
fmt.Printf("%s\n", version.Get().String())
|
||||
os.Exit(0)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user