aboutsummaryrefslogtreecommitdiff
path: root/.app/lib/app-conf
diff options
context:
space:
mode:
Diffstat (limited to '.app/lib/app-conf')
-rw-r--r--.app/lib/app-conf12
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"