mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Use --value="$3" syntax so that $3 can begin with a dash
This commit is contained in:
parent
32d3a9940b
commit
8e45f960a7
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ ynh_app_setting_get() {
|
||||||
# | arg: key - the setting name to set
|
# | arg: key - the setting name to set
|
||||||
# | arg: value - the setting value to set
|
# | arg: value - the setting value to set
|
||||||
ynh_app_setting_set() {
|
ynh_app_setting_set() {
|
||||||
sudo yunohost app setting "$1" "$2" -v "$3" --quiet
|
sudo yunohost app setting "$1" "$2" --value="$3" --quiet
|
||||||
}
|
}
|
||||||
|
|
||||||
# Delete an application setting
|
# Delete an application setting
|
||||||
|
|
Loading…
Add table
Reference in a new issue