summaryrefslogtreecommitdiff
path: root/completion
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-02-06 17:06:42 +0100
committerAlexander Larsson <alexl@redhat.com>2015-02-08 11:32:17 +0100
commita2f9562989bd182fccdd3101c7ea8e243704d13e (patch)
tree6a41c9ebfbfa78d30f0703bc2d6604eff757dd1c /completion
parent4fad768593b4ce3f68b90d91aea1d43ab9e13e55 (diff)
downloadxdg-app-a2f9562989bd182fccdd3101c7ea8e243704d13e.tar.gz
Teach completion about --runtime
Diffstat (limited to 'completion')
-rwxr-xr-xcompletion/xdg-app6
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)