From 4ee8d91f5e260c535da5e72921b5b82063f32c08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Mon, 29 Feb 2016 12:18:26 +0100 Subject: [PATCH] [fix] Add an example for ynh_get_plain_key helper usage --- data/apps/helpers.d/utils | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/apps/helpers.d/utils b/data/apps/helpers.d/utils index a6755e3c8..165a394d3 100644 --- a/data/apps/helpers.d/utils +++ b/data/apps/helpers.d/utils @@ -1,5 +1,7 @@ # Extract a key from a plain command output # +# example: yunohost user info tata --output-as plain | ynh_get_plain_key mail +# # usage: ynh_get_plain_key key [subkey [subsubkey ...]] # | ret: string - the key's value ynh_get_plain_key() {