Denis V. Dedkov 9 năm trước cách đây
mục cha
commit
3cc52858f1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      noolite-cli.go

+ 1 - 1
noolite-cli.go

@@ -14,7 +14,7 @@ func main() {
 
 	defer n.Close()
 
-	channel := flag.Int("c", nil, "Noolite adapter channel")
+	channel := *flag.Int("c", 0, "Noolite adapter channel")
 
 	err = n.Switch(channel)