forked from ungleich-public/cdist
__package_update_index: update man-page w/ --magage
and MESSAGING
This commit is contained in:
parent
179c5a2dfe
commit
e31de114e3
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue