aboutsummaryrefslogtreecommitdiff
path: root/app_completion
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-10-15 18:43:59 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2012-10-15 18:43:59 +0200
commit7a2bbcede061b26cd478a78096512a4bd759ec3e (patch)
treea853e330b1ff770fba241c1e9707a5bb124a6807 /app_completion
parent2c7a659b8a8d0d7a082aed01ab44e5710841412b (diff)
downloadapp.sh-7a2bbcede061b26cd478a78096512a4bd759ec3e.tar.gz
app.sh-7a2bbcede061b26cd478a78096512a4bd759ec3e.tar.bz2
app.sh-7a2bbcede061b26cd478a78096512a4bd759ec3e.tar.xz
app.sh-7a2bbcede061b26cd478a78096512a4bd759ec3e.zip
o Renaming './app app' to './app instance'.
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