aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-10-05 15:12:35 +0000
committermerakor <cem@ckyln.com>2020-10-05 15:12:35 +0000
commit2e4f1909967c53db059d4b8151ff1bc39a4d2761 (patch)
tree35548b6f2a3f873505dfd97e47c01efe6f42eb55
parent7da40c6a9eeef028b579d3f347a8fd52e3a9ecbc (diff)
downloadcpt-2e4f1909967c53db059d4b8151ff1bc39a4d2761.tar.gz
cpt-update: add function to only fetch repositories
This marks the deprecation of the cpt-fetch(1) utility. FossilOrigin-Name: adc51307ea32e8b81d40a5b0de5174916d0cb84fb161005903374f9a147b28a8
-rwxr-xr-xsrc/cpt-update1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpt-update b/src/cpt-update
index 4b2e7bd..b6a066c 100755
--- a/src/cpt-update
+++ b/src/cpt-update
@@ -8,6 +8,7 @@ parser_definition() {
msg -- '' 'Options:'
flag download_only -d --download -- "Only download updatable packages"
flag CPT_FETCH -n --no-fetch on:0 off:0 init:="$CPT_FETCH" -- "Do not refresh the repositories"
+ disp :pkg_fetch -f --only-fetch -- "Only fetch repositories"
global_options
}