From 911d0b5aab3eb75e8e7fb05b22b3598356527d1c Mon Sep 17 00:00:00 2001 From: Nicolas Frandeboeuf Date: Wed, 30 Nov 2022 18:03:54 +0100 Subject: [PATCH] Improve ynh_add_config doc (#2154) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Improve ynh_add_config template parameter usage description * Update packaging_apps_helpers.md * Update pages/06.contribute/10.packaging_apps/11.helpers/packaging_apps_helpers.md Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com> --- .../10.packaging_apps/11.helpers/packaging_apps_helpers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/06.contribute/10.packaging_apps/11.helpers/packaging_apps_helpers.md b/pages/06.contribute/10.packaging_apps/11.helpers/packaging_apps_helpers.md index 53454594..94e34244 100644 --- a/pages/06.contribute/10.packaging_apps/11.helpers/packaging_apps_helpers.md +++ b/pages/06.contribute/10.packaging_apps/11.helpers/packaging_apps_helpers.md @@ -2301,13 +2301,13 @@ Requires YunoHost version 2.6.4 or higher. **Usage**: `ynh_add_config --template="template" --destination="destination"` **Arguments**: -- `-t`, `--template=`: Template config file to use +- `-t`, `--template=`: Template config file to use. The file will first be looked for in the `conf` directory of the package and if missing at the exact path given. - `-d`, `--destination=`: Destination of the config file **Examples**: -- ` ynh_add_config --template=".env" --destination="$final_path/.env" use the template file "../conf/.env"` +- ` ynh_add_config --template=".env" --destination="$final_path/.env"` uses the template file `../conf/.env`