aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-10-05 17:56:46 +0000
committermerakor <cem@ckyln.com>2020-10-05 17:56:46 +0000
commit61a6b6196ce0b7b986de88df73d387c0241e2554 (patch)
tree1fa6086bdb9718676e37cdf535f89b1f2ced70d9
parent2e4f1909967c53db059d4b8151ff1bc39a4d2761 (diff)
downloadcpt-61a6b6196ce0b7b986de88df73d387c0241e2554.tar.gz
cpt-update: use -o flag instead of -f for "Only fetch"
FossilOrigin-Name: 313b5e9f3b0d5d13bd9e853f10d6b2b1e0201361ba47293ed34ab25cd3fd1b6d
-rwxr-xr-xsrc/cpt-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpt-update b/src/cpt-update
index b6a066c..8143535 100755
--- a/src/cpt-update
+++ b/src/cpt-update
@@ -8,7 +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"
+ disp :pkg_fetch -o --only-fetch -- "Only fetch repositories"
global_options
}