Closed jamesnetherton closed 7 years ago
E.g if you currently run EnableDebug without any arguments, it results in:
EnableDebug
panic: reflect: Call with too few input arguments goroutine 1 [running]: panic(0x7bc160, 0xc4201769b0) /usr/share/go/src/runtime/panic.go:500 +0x1a1 reflect.Value.call(0x837ae0, 0xc420182600, 0x2213, 0x846827, 0x4, 0x0, 0x0, 0x0, 0xc4201ae048, 0x13, ...) /usr/share/go/src/reflect/value.go:358 +0x13c1 reflect.Value.Call(0x837ae0, 0xc420182600, 0x2213, 0x0, 0x0, 0x0, 0xc420182600, 0x2213, 0xb) /usr/share/go/src/reflect/value.go:302 +0xa4 main.invokeMethod(0xc4201769a0, 0xb) src/github.com/jamesnetherton/homehub-cli/homehub-cli.go:139 +0xdd main.main() src/github.com/jamesnetherton/homehub-cli/homehub-cli.go:92 +0x46d
E.g if you currently run
EnableDebug
without any arguments, it results in: