aboutsummaryrefslogtreecommitdiff
path: root/pkg/config/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/config/config.go')
-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
to 'necoro'René 'Necoro' Neumann1-1/+1 2009-10-25Remove own hplip versionRené 'Necoro' Neumann4-210/+0 2009-10-25Remove own ctags versionRené 'Necoro' Neumann7-402/+0 2009-10-02Do not create isabelle desktop entryRené 'Necoro' Neumann2-2/+1 2009-09-28Add isabelle ebuildRené 'Necoro' Neumann3-0/+115 2009-09-05Removed glade ebuild. Newer versions included in treeRené 'Necoro' Neumann2-47/+0