diff --git a/helpers/utils b/helpers/utils index 9c92e65b9..b73e5ad46 100644 --- a/helpers/utils +++ b/helpers/utils @@ -611,6 +611,7 @@ ynh_replace_vars() { # usage: ynh_read_var_in_file --file=PATH --key=KEY # | arg: -f, --file= - the path to the file # | arg: -k, --key= - the key to get +# | arg: -a, --after= - the line just before the key (in case of multiple lines with the name of the key in the file) # # This helpers match several var affectation use case in several languages # We don't use jq or equivalent to keep comments and blank space in files @@ -714,6 +715,7 @@ ynh_read_var_in_file() { # | arg: -f, --file= - the path to the file # | arg: -k, --key= - the key to set # | arg: -v, --value= - the value to set +# | arg: -a, --after= - the line just before the key (in case of multiple lines with the name of the key in the file) # # Requires YunoHost version 4.3 or higher. ynh_write_var_in_file() {