diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-02-09 17:40:37 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-02-09 17:40:37 +0100 |
commit | f184fbb603b15b0834571ed0e4698cf5420b160c (patch) | |
tree | 408d66b034ee62f831427dbc3a75736177a027a9 /completion | |
parent | 1e69e3fc4233b85f91ff2b05dd0678d69055f3a7 (diff) | |
download | xdg-app-f184fbb603b15b0834571ed0e4698cf5420b160c.tar.gz |
Improve completion
The options of the add-remote command were not being completed.
Diffstat (limited to 'completion')
-rwxr-xr-x | completion/xdg-app | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/completion/xdg-app b/completion/xdg-app index ee14c49..ffabdae 100755 --- a/completion/xdg-app +++ b/completion/xdg-app @@ -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 |