Allow editing of mirror archive url

This is needed in case a mirror has moved or is down and need to move
to new mirror.
This commit is contained in:
Oliver Sauder
2017-11-21 16:05:59 +01:00
parent 10e0966edc
commit b98abcc049
5 changed files with 44 additions and 5 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ _aptly()
"edit")
if [[ $numargs -eq 0 ]]; then
if [[ "$cur" == -* ]]; then
COMPREPLY=($(compgen -W "-filter= -filter-with-deps -with-sources -with-udebs" -- ${cur}))
COMPREPLY=($(compgen -W "-archive-url= -filter= -filter-with-deps -ignore-signatures -keyring= -with-sources -with-udebs" -- ${cur}))
else
COMPREPLY=($(compgen -W "$(__aptly_mirror_list)" -- ${cur}))
fi