Code

Documentation: clarify effects of -- <path> arguments
[git.git] / Documentation / git-sh-i18n--envsubst.txt
index f5bbf7750db6f907d6f6d3b873154d7e098ef062..61e4c08dacf796853284ee03c3ccdbebddb51a9b 100644 (file)
@@ -5,6 +5,16 @@ NAME
 ----
 git-sh-i18n--envsubst - Git's own envsubst(1) for i18n fallbacks
 
+SYNOPSIS
+--------
+[verse]
+eval_gettext () {
+       printf "%s" "$1" | (
+               export PATH $('git sh-i18n--envsubst' --variables "$1");
+               'git sh-i18n--envsubst' "$1"
+       )
+}
+
 DESCRIPTION
 -----------