diff options
Diffstat (limited to 'completion')
-rwxr-xr-x | completion/xdg-app | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/completion/xdg-app b/completion/xdg-app index e650272..26d926a 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' @@ -33,7 +34,8 @@ _xdg-app() { [BUILD]='--runtime --network --x11' [BUILD_FINISH]='--command --allow' [BUILD_EXPORT]='--subject --body' - [ARG]='--arch --command --branch --var --allow --forbid --subject --body --runtime' + [REPO_UPDATE]='--title' + [ARG]='--arch --command --branch --var --allow --forbid --subject --body --title --runtime' ) if __contains_word "--user" ${COMP_WORDS[*]}; then @@ -56,7 +58,7 @@ _xdg-app() { --allow|--forbid) comps='x11 wayland ipc pulseaudio system-dbus session-dbus network host-fs homedir' ;; - --branch|--subject|--body) + --branch|--subject|--body|--title) comps='' ;; esac @@ -152,6 +154,12 @@ _xdg-app() { if [ "$verb" = "build-export" ]; then comps="$comps ${OPTS[BUILD_EXPORT]}" fi + 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 |