From 3cc52858f13168690a7e7146eb0f897a2064e9e7 Mon Sep 17 00:00:00 2001 From: "Denis V. Dedkov" Date: Sun, 26 Jun 2016 15:29:57 +0500 Subject: [PATCH] Bugfixes --- noolite-cli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noolite-cli.go b/noolite-cli.go index 7ffcef6..fb396e2 100644 --- a/noolite-cli.go +++ b/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)