summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2020-08-26 23:03:48 +0300
committerTimo Teräs <timo.teras@iki.fi>2020-08-26 23:05:03 +0300
commitfb0109fdb199436979af71b3d8f973dbbf4fb906 (patch)
treec4d957a9ef0bc7d562e9b307ce1fdbba10b61aea
parent2408ad4f9576727bfe24493b01b7609d4b6230e8 (diff)
downloadapk-tools-fb0109fdb199436979af71b3d8f973dbbf4fb906.tar.gz
apk-tools-fb0109fdb199436979af71b3d8f973dbbf4fb906.tar.bz2
apk-tools-fb0109fdb199436979af71b3d8f973dbbf4fb906.tar.xz
apk-tools-fb0109fdb199436979af71b3d8f973dbbf4fb906.zip
fix --repository short option to be -X as before
unintentional regression from commit edb45ae464 fixes #10707
-rw-r--r--src/apk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk.c b/src/apk.c
index a315edc..4aba0a6 100644
--- a/src/apk.c
+++ b/src/apk.c
@@ -97,7 +97,7 @@ static struct apk_repository_list *apk_repository_new(const char *url)
OPT(OPT_GLOBAL_purge, "purge") \
OPT(OPT_GLOBAL_quiet, APK_OPT_SH("q") "quiet") \
OPT(OPT_GLOBAL_repositories_file, APK_OPT_ARG "repositories-file") \
- OPT(OPT_GLOBAL_repository, APK_OPT_ARG APK_OPT_SH("x") "repository") \
+ OPT(OPT_GLOBAL_repository, APK_OPT_ARG APK_OPT_SH("X") "repository") \
OPT(OPT_GLOBAL_root, APK_OPT_ARG APK_OPT_SH("p") "root") \
OPT(OPT_GLOBAL_update_cache, APK_OPT_SH("U") "update-cache") \
OPT(OPT_GLOBAL_verbose, APK_OPT_SH("v") "verbose") \