From 52972b810a9a42cef5c88f9947d64a0705f243ac Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 17 Jun 2021 09:00:07 +0200 Subject: Implement single Picture Mode --- src/main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.go') diff --git a/src/main.go b/src/main.go index 768920a..01581ff 100644 --- a/src/main.go +++ b/src/main.go @@ -12,6 +12,7 @@ import ( var ( camera Camera + debug bool ) type config struct { @@ -44,6 +45,7 @@ func main() { func readFlags() string { var retval string flag.StringVar(&retval, "c", "/etc/birdscan/config.json", "Path to birdscan configuration file") + flag.BoolVar(&debug, "d", false, "A debug flag to be used by source repository Makefile") flag.Parse() return retval } -- cgit v1.2.3-70-g09d2