mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Fix a bunch of minor issues found by running staticcheck
Signed-off-by: Chris Cummer <chriscummer@me.com>
This commit is contained in:
@@ -43,7 +43,7 @@ func (flags *Flags) RenderIf(version, date string, config *config.Config) {
|
||||
}
|
||||
|
||||
if flags.HasVersion() {
|
||||
fmt.Println(fmt.Sprintf("%s (%s)", version, date))
|
||||
fmt.Printf("%s (%s)\n", version, date)
|
||||
os.Exit(0)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user