From 2dc5550fa4f6fb4acb20e6fc2a8a8ef996aa6221 Mon Sep 17 00:00:00 2001 From: Thomas Eckert Date: Tue, 30 Jan 2018 13:24:28 +0100 Subject: [PATCH] __package_update_index: update man-page w/ `--magage` and MESSAGING --- cdist/conf/type/__package_update_index/man.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cdist/conf/type/__package_update_index/man.rst b/cdist/conf/type/__package_update_index/man.rst index ac954faa..b63af654 100644 --- a/cdist/conf/type/__package_update_index/man.rst +++ b/cdist/conf/type/__package_update_index/man.rst @@ -31,6 +31,13 @@ maxage Available for package manager apt, max time in seconds since last update. Repo update is skipped if maxage is not reached yet. +MESSAGES +-------- +apt-cache updated (age was: currage) + apt-cache was updated (run of `apt-get update`). `currage` is the time + in seconds since the previous run. + + EXAMPLES -------- @@ -44,7 +51,7 @@ EXAMPLES # Only update every hour: __package_update_index --maxage 3600 --type apt - # same as avove (on apt-type systems): + # same as above (on apt-type systems): __package_update_index --maxage 3600 AUTHORS