summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2024-09-30 11:16:28 -0400
committerGitHub <noreply@github.com>2024-09-30 11:16:28 -0400
commit18791a4e6e08de406e9c1e257cc4be2a85f29eea (patch)
tree0a32b7b821a229e0bbdf11775f3e66c2fce24217 /docs
parent69d3e0c46e34a57e6cfcb58d36b28c6f0beb134e (diff)
feat(config): Allow avoiding reading default config file (#2227)
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
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 df59d345..280778fe 100644
--- a/docs/content/usage.md
+++ b/docs/content/usage.md
@@ -21,7 +21,7 @@ Hello, hairyhenderson
### `--config`
-Specify the path to a [gomplate config file](../config). The default is `.gomplate.yaml`. Can also be set with the `GOMPLATE_CONFIG` environment variable.
+Specify the path to a [gomplate config file](../config). The default is `.gomplate.yaml`. Can also be set with the `GOMPLATE_CONFIG` environment variable. Setting `--config` or `GOMPLATE_CONFIG` to an empty string (`--config=""` or `export GOMPLATE_CONFIG=""`) will disable the use of a config file, skipping the default `.gomplate.yaml` file.
For example: