summaryrefslogtreecommitdiff
path: root/app_completion
diff options
context:
space:
mode:
Diffstat (limited to 'app_completion')
-rw-r--r--app_completion6
1 files changed, 3 insertions, 3 deletions
diff --git a/app_completion b/app_completion
index 68a3b7b..c4bfe02 100644
--- a/app_completion
+++ b/app_completion
@@ -6,7 +6,7 @@ _appsh_contains() {
}
_appsh_methods=(
- "app"
+ "instance"
"conf"
"operate"
)
@@ -58,14 +58,14 @@ _complete_appsh() {
case $prev in
-n)
- values=$(./app app list -P name)
+ values=$(./app instance list -P name)
COMPREPLY=($(compgen -W "$values" -- ${cur}))
return 0
;;
-i)
if [ -n "$has_n" ]
then
- values=$(./app app list -n $has_n -P instance)
+ values=$(./app instance list -n $has_n -P instance)
COMPREPLY=($(compgen -W "$values" -- ${cur}))
return 0
fi