summaryrefslogtreecommitdiff
path: root/completion
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2015-12-10 11:15:51 +0100
committerAlexander Larsson <alexl@redhat.com>2015-12-10 11:15:51 +0100
commit2afc3349b1ca4207d20f059f99f5c57ca5baa892 (patch)
tree629900295466dc1464b92f64b6c56d0469294f27 /completion
parent2c92fcb1d6d286de3d7525c2157f09f34a7370dd (diff)
downloadxdg-app-2afc3349b1ca4207d20f059f99f5c57ca5baa892.tar.gz
completion: Fix completion of apps/runtimes in a remote
The name of the commandline operation changed to ls-remotes.
Diffstat (limited to 'completion')
-rwxr-xr-xcompletion/xdg-app4
1 files changed, 2 insertions, 2 deletions
diff --git a/completion/xdg-app b/completion/xdg-app
index 800239b..bb3b304 100755
--- a/completion/xdg-app
+++ b/completion/xdg-app
@@ -250,7 +250,7 @@ _xdg-app() {
if [[ -z $remote ]]; then
comps=$(xdg-app $mode list-remotes)
elif [[ -z $name ]]; then
- comps=$(xdg-app $mode repo-contents $remote --runtimes)
+ comps=$(xdg-app $mode ls-remote $remote --runtimes)
else
comps='' # FIXME: branches
fi
@@ -272,7 +272,7 @@ _xdg-app() {
if [[ -z $remote ]]; then
comps=$(xdg-app $mode list-remotes)
elif [[ -z $name ]]; then
- comps=$(xdg-app $mode repo-contents $remote --apps)
+ comps=$(xdg-app $mode ls-remote $remote --apps)
else
comps='' # FIXME: branches
fi