__package_update_index: update man-page w/ `--magage` and MESSAGING

This commit is contained in:
tom 2018-01-30 13:24:28 +01:00
parent 27d38a28ab
commit 2dc5550fa4
1 changed files with 8 additions and 1 deletions

View File

@ -31,6 +31,13 @@ maxage
Available for package manager apt, max time in seconds since last update. Available for package manager apt, max time in seconds since last update.
Repo update is skipped if maxage is not reached yet. 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 EXAMPLES
-------- --------
@ -44,7 +51,7 @@ EXAMPLES
# Only update every hour: # Only update every hour:
__package_update_index --maxage 3600 --type apt __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 __package_update_index --maxage 3600
AUTHORS AUTHORS