summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAmund Tenstad <github@amund.io>2023-10-21 19:03:10 +0200
committerGitHub <noreply@github.com>2023-10-21 13:03:10 -0400
commite9971d0453eb2c0bf0dbc15bfa950a8b0791f3c2 (patch)
tree703c0343f7edde539d588349f7046919ca3523e9 /docs
parent602686db68988bd58e995105e00cadb05fddabf2 (diff)
docs: format user template in hello example (#1885)
Diffstat (limited to 'docs')
-rw-r--r--docs/content/usage.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/usage.md b/docs/content/usage.md
index cccb830e..805099d2 100644
--- a/docs/content/usage.md
+++ b/docs/content/usage.md
@@ -13,7 +13,7 @@ The template is read from standard in, and written to standard out.
Use it like this:
```console
-$ echo "Hello, {{.Env.USER}}" | gomplate
+$ echo "Hello, {{ .Env.USER }}" | gomplate
Hello, hairyhenderson
```