don't rename pos. vars to local when not needed
This commit is contained in:
parent
c22bf5a0f8
commit
6c8d80f1a8
7
reve.sh
7
reve.sh
@ -144,16 +144,15 @@ util_handle_pos () {
|
||||
}
|
||||
|
||||
sub_config () {
|
||||
local config_key=$2
|
||||
case "$1" in
|
||||
get)
|
||||
util_read_config "$config_key"
|
||||
util_read_config "$2"
|
||||
;;
|
||||
set)
|
||||
util_write_config "$config_key" "$3"
|
||||
util_write_config "$2" "$3"
|
||||
;;
|
||||
rm|delete)
|
||||
util_delete_config "$config_key"
|
||||
util_delete_config "$2"
|
||||
;;
|
||||
"")
|
||||
util_help config
|
||||
|
Loading…
x
Reference in New Issue
Block a user