aboutsummaryrefslogtreecommitdiff
path: root/app
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
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')
-rwxr-xr-xapp10
1 files changed, 5 insertions, 5 deletions
diff --git a/app b/app
index 0c4cbd1..f02f11d 100755
--- a/app
+++ b/app
@@ -35,7 +35,7 @@ method_usage() {
echo "usage: $0 [-n name] [-i instance] <method group>" >&2
echo "" >&2
echo "Available method groups:" >&2
- echo " app" >&2
+ echo " instance" >&2
echo " conf" >&2
echo " operate" >&2
echo "" >&2
@@ -43,7 +43,7 @@ method_usage() {
}
. $APPSH_HOME/.app/lib/app-common
-. $APPSH_HOME/.app/lib/app-app
+. $APPSH_HOME/.app/lib/app-instance
. $APPSH_HOME/.app/lib/app-conf
. $APPSH_HOME/.app/lib/app-operate
@@ -75,8 +75,8 @@ main() {
method_usage
else
case "$h" in
- app)
- method_app_usage
+ instance)
+ method_instance_usage
;;
conf)
method_conf_usage
@@ -104,7 +104,7 @@ main() {
fi
case "$method" in
- app) method_app "$name" "$instance" "$@" ;;
+ instance) method_instance "$name" "$instance" "$@" ;;
conf) method_conf "$name" "$instance" "$@" ;;
operate) method_operate "$name" "$instance" "$@" ;;
*)