diff options
author | Timo Teräs <timo.teras@iki.fi> | 2018-01-09 10:32:01 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2018-01-09 10:32:03 +0200 |
commit | 118f29c895b15993155a2cd825403ea65a606018 (patch) | |
tree | 4287bf599e3614c447b2e11aa0a324411cdfd838 /src | |
parent | dc701b83a7ba432fea7700e565eb03dc0eaf970c (diff) | |
download | apk-tools-118f29c895b15993155a2cd825403ea65a606018.tar.gz apk-tools-118f29c895b15993155a2cd825403ea65a606018.tar.bz2 apk-tools-118f29c895b15993155a2cd825403ea65a606018.tar.xz apk-tools-118f29c895b15993155a2cd825403ea65a606018.zip |
fix --update-cache help to reflect reality
Internally the value is in seconds, but on command line it's in
minutes.
Diffstat (limited to 'src')
-rw-r--r-- | src/apk.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -198,7 +198,7 @@ static const struct apk_option options_global[] = { { 0x121, "force-old-apk", "Continue even if packages use unsupported features" }, { 0x120, "force-overwrite", "Overwrite files in other packages" }, { 0x123, "force-refresh", "Do not use cached files (local or from proxy)" }, - { 'U', "update-cache", "Alias for --cache-max-age 60" }, + { 'U', "update-cache", "Alias for --cache-max-age 1" }, { 0x101, "progress", "Show a progress bar" }, { 0x10f, "progress-fd", "Write progress to fd", required_argument, "FD" }, { 0x110, "no-progress", "Disable progress bar even for TTYs" }, |