aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2018-01-09 10:32:01 +0200
committerTimo Teräs <timo.teras@iki.fi>2018-01-09 10:32:03 +0200
commit118f29c895b15993155a2cd825403ea65a606018 (patch)
tree4287bf599e3614c447b2e11aa0a324411cdfd838
parentdc701b83a7ba432fea7700e565eb03dc0eaf970c (diff)
downloadaports-118f29c895b15993155a2cd825403ea65a606018.tar.bz2
aports-118f29c895b15993155a2cd825403ea65a606018.tar.xz
fix --update-cache help to reflect reality
Internally the value is in seconds, but on command line it's in minutes.
-rw-r--r--src/apk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk.c b/src/apk.c
index c71358b0b0..ed694d0f5b 100644
--- a/src/apk.c
+++ b/src/apk.c
@@ -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" },