forked from Mirrors/flatpak-builder
Improve completion
The options of the add-remote command were not being completed.tingping/wmclass
parent
1e69e3fc42
commit
f184fbb603
|
@ -25,6 +25,7 @@ _xdg-app() {
|
|||
[GENERAL]='--help --verbose --version'
|
||||
[MODE]='--user --system'
|
||||
[ARCH]='--arch'
|
||||
[ADD_REMOTE]='--no-gpg-verify --if-not-exists --title'
|
||||
[LIST_REMOTES]='--show-urls'
|
||||
[REPO_CONTENTS]='--show-details --runtimes --apps --update'
|
||||
[UNINSTALL]='--keep-ref'
|
||||
|
@ -156,6 +157,9 @@ _xdg-app() {
|
|||
if [ "$verb" = "repo-update" ]; then
|
||||
comps="$comps ${OPTS[REPO_UPDATE]}"
|
||||
fi
|
||||
if [ "$verb" = "add-remote" ]; then
|
||||
comps="$comps ${OPTS[ADD_REMOTE]}"
|
||||
fi
|
||||
|
||||
else
|
||||
case "$verb" in
|
||||
|
|
Loading…
Reference in New Issue