diff options
Diffstat (limited to 'src/main.go')
-rw-r--r-- | src/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |