diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-05-31 12:09:21 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-31 12:09:21 -0700 |
commit | 15af7075fc21877320a3fcf251201b209af5253a (patch) | |
tree | 3a53c7363750eada9802543888278a9756a7ad7e | |
parent | b9575e78e504d0fed4747bb2325aa09e2626b6e9 (diff) | |
parent | f5008f56d5aba06598e1c6272f4f55b4ee4bb016 (diff) | |
download | git-15af7075fc21877320a3fcf251201b209af5253a.tar.gz git-15af7075fc21877320a3fcf251201b209af5253a.tar.xz |
Merge branch 'ab/i18n-envsubst-doc-fix'
* ab/i18n-envsubst-doc-fix:
git-sh-i18n--envsubst: add SYNOPSIS section to the documentation
-rw-r--r-- | Documentation/git-sh-i18n--envsubst.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/git-sh-i18n--envsubst.txt b/Documentation/git-sh-i18n--envsubst.txt index f5bbf7750..61e4c08da 100644 --- a/Documentation/git-sh-i18n--envsubst.txt +++ b/Documentation/git-sh-i18n--envsubst.txt @@ -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 ----------- |