summaryrefslogtreecommitdiff
path: root/pkg/config/config.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkg/config/config.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/config/config.go b/pkg/config/config.go
index 993cd71..689ad58 100644
--- a/pkg/config/config.go
+++ b/pkg/config/config.go
@@ -85,13 +85,13 @@ func (cfg *Config) Validate() error {
}
// Marks whether 'text' part should be included in mails
-func (cfg *Config) WithPartText() bool {
- return util.StrContains(cfg.Parts, "text")
+func (opt GlobalOptions) WithPartText() bool {
+ return util.StrContains(opt.Parts, "text")
}
// Marks whether 'html' part should be included in mails
-func (cfg *Config) WithPartHtml() bool {
- return util.StrContains(cfg.Parts, "html")
+func (opt GlobalOptions) WithPartHtml() bool {
+ return util.StrContains(opt.Parts, "html")
}
// Current feed2imap version
00'>2012-09-19Clean up git handling.Jason A. Donenfeld2-42/+28 2012-09-19Fix git regression.Jason A. Donenfeld1-1/+1 2012-09-18Add additional information from KeepassX xmlJuhamatti Niemelä1-3/+15 2012-09-18Copyright and licensing info to keepassx2pass scriptJuhamatti Niemelä1-0/+4 2012-09-18Quote the template.Jason A. Donenfeld1-1/+1 2012-09-18Better dependency list.Jason A. Donenfeld1-1/+10 2012-09-18Make recursive make silent.Jason A. Donenfeld1-1/+1 2012-09-18Quote the program name.Jason A. Donenfeld1-4/+4 2012-09-17Abstract potentially platform specific commands into their own commands.Jason A. Donenfeld4-72/+97 2012-09-16Support recursive and forced removal.Jason A. Donenfeld2-12/+28 2012-09-16Small stylistic things.Jason A. Donenfeld1-9/+9 2012-09-15Use --force flag in keepassx import.Jason A. Donenfeld1-1/+1