From 12261ceb05c4dd26d7e53a96f835e7886092b88a Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sun, 26 Aug 2018 13:03:37 +1000 Subject: [PATCH] update config docs for auto updates --- docs/Config.md | 3 +++ pkg/config/app_config.go | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/Config.md b/docs/Config.md index 7e657adc4..77f444178 100644 --- a/docs/Config.md +++ b/docs/Config.md @@ -18,6 +18,9 @@ # stuff relating to git os: # stuff relating to the OS + update: + method: prompt # can be: prompt | background | never + days: 14 # how often an update is checked for ``` ## Color Attributes: diff --git a/pkg/config/app_config.go b/pkg/config/app_config.go index 4038e65fd..36cfdb9f4 100644 --- a/pkg/config/app_config.go +++ b/pkg/config/app_config.go @@ -223,8 +223,8 @@ func getDefaultConfig() []byte { os: # stuff relating to the OS update: - method: prompt # can be prompt | background | never - days: 7 # only applies for prompt/background update methods + method: prompt # can be: prompt | background | never + days: 14 # how often a update is checked for `) }