diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-02-06 17:06:42 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2015-02-08 11:32:17 +0100 |
commit | a2f9562989bd182fccdd3101c7ea8e243704d13e (patch) | |
tree | 6a41c9ebfbfa78d30f0703bc2d6604eff757dd1c /completion | |
parent | 4fad768593b4ce3f68b90d91aea1d43ab9e13e55 (diff) | |
download | xdg-app-a2f9562989bd182fccdd3101c7ea8e243704d13e.tar.gz |
Teach completion about --runtime
Diffstat (limited to 'completion')
-rwxr-xr-x | completion/xdg-app | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/completion/xdg-app b/completion/xdg-app index c8b0561..949063d 100755 --- a/completion/xdg-app +++ b/completion/xdg-app @@ -28,12 +28,12 @@ _xdg-app() { [LIST_REMOTES]='--show-urls' [REPO_CONTENTS]='--show-details --runtimes --apps --update' [UNINSTALL]='--keep-ref' - [RUN]='--command --branch --devel --forbid' + [RUN]='--command --branch --devel --forbid --runtime' [BUILD_INIT]='--arch --var' [BUILD]='--runtime --network --x11' [BUILD_FINISH]='--command --allow' [BUILD_EXPORT]='--subject --body' - [ARG]='--arch --command --branch --var --allow --forbid --subject --body' + [ARG]='--arch --command --branch --var --allow --forbid --subject --body --runtime' ) if __contains_word "--user" ${COMP_WORDS[*]}; then @@ -50,7 +50,7 @@ _xdg-app() { --command) comps=$(compgen -A command) ;; - --var) + --var|--runtime) comps=$(xdg-app $mode list-runtimes) ;; --allow|--forbid) |