From af957a67eb34430d5788bf1d2cb8e1aa1e46f3ff Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Sat, 22 Aug 2020 15:57:19 +0200 Subject: #26: Introduce new option `auto-target` --- pkg/config/config.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/config/config.go') diff --git a/pkg/config/config.go b/pkg/config/config.go index e98a1aa..31012a1 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -22,6 +22,7 @@ type GlobalOptions struct { Target Url `yaml:"target"` Parts []string `yaml:"parts"` MaxFailures int `yaml:"max-failures"` + AutoTarget bool `yaml:"auto-target"` } // Default global options @@ -31,6 +32,7 @@ var DefaultGlobalOptions = GlobalOptions{ DefaultEmail: username() + "@" + Hostname(), Target: Url{}, Parts: []string{"text", "html"}, + AutoTarget: true, } // Per feed options -- cgit v1.2.3-70-g09d2