Denis V. Dedkov 9 年之前
父節點
當前提交
3cc52858f1
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)