summaryrefslogtreecommitdiff
path: root/src/main.go
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2021-06-17 09:00:07 +0200
committerxengineering <mail2xengineering@protonmail.com>2021-06-17 11:27:05 +0200
commit52972b810a9a42cef5c88f9947d64a0705f243ac (patch)
tree6ce0307a030bb5279a695506868a424f6ab6599c /src/main.go
parent591097e5a3741432e2acd9c41fadd4eb10678674 (diff)
downloadbirdscan-52972b810a9a42cef5c88f9947d64a0705f243ac.tar
birdscan-52972b810a9a42cef5c88f9947d64a0705f243ac.tar.zst
birdscan-52972b810a9a42cef5c88f9947d64a0705f243ac.zip
Implement single Picture Mode
Diffstat (limited to 'src/main.go')
-rw-r--r--src/main.go2
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
}