Minor improvement

This commit is contained in:
Eduard Urbach 2018-12-24 15:57:25 +09:00
parent cdeca8609f
commit add6e46b4c

View File

@ -4,7 +4,6 @@ import (
"flag" "flag"
"github.com/animenotifier/arn" "github.com/animenotifier/arn"
"github.com/fatih/color"
) )
var nick string var nick string
@ -22,7 +21,7 @@ func main() {
defer arn.Node.Close() defer arn.Node.Close()
if itemID == "" { if itemID == "" {
color.Red("Missing parameters") flag.Usage()
return return
} }