Improve completion

The options of the add-remote command were not being completed.
tingping/wmclass
Matthias Clasen 2015-02-09 17:40:37 +01:00
parent 1e69e3fc42
commit f184fbb603
1 changed files with 4 additions and 0 deletions

View File

@ -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