diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-14 11:26:54 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-14 11:26:54 +0200 |
commit | 2c7a659b8a8d0d7a082aed01ab44e5710841412b (patch) | |
tree | b80f9d0db51282dc587211599a5bcc81dbfa6e09 /.app/lib/app-conf | |
parent | cd470d4d622640a6b1a4d84082e3107ca44a16a4 (diff) | |
download | app.sh-2c7a659b8a8d0d7a082aed01ab44e5710841412b.tar.gz app.sh-2c7a659b8a8d0d7a082aed01ab44e5710841412b.tar.bz2 app.sh-2c7a659b8a8d0d7a082aed01ab44e5710841412b.tar.xz app.sh-2c7a659b8a8d0d7a082aed01ab44e5710841412b.zip |
o Adjusting app-conf and app-operate after refactoring.
Diffstat (limited to '.app/lib/app-conf')
-rw-r--r-- | .app/lib/app-conf | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/.app/lib/app-conf b/.app/lib/app-conf index fa705e4..29b74dd 100644 --- a/.app/lib/app-conf +++ b/.app/lib/app-conf @@ -111,19 +111,13 @@ method_conf_usage() { } method_conf() { - local name - local instance + local name="$1"; shift + local instance="$1"; shift local mode="list" - while getopts "n:i:s:d:" opt + while getopts "s:d:" opt do case $opt in - n) - name="$OPTARG" - ;; - i) - instance="$OPTARG" - ;; d) mode="delete" key="$OPTARG" |