Skip to content

Commit 04a2d1b

Browse files
authored
docs: update usage
1 parent 216280c commit 04a2d1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/config/config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ Executes the template from the input applying the environment passed in options.
2929
If you specify the input template via an option flag (-input), then it will
3030
read it inline.
3131
If you specify that the template comes from the stdin by setting the option flag
32-
(-stdin), then it will read it inline from the stdin.
33-
If you set it as the first argument, it assumes that it is a file.
32+
(-stdin), or the first argument as "-" then it will read it inline from the stdin.
33+
If you set it as the first argument, it assumes it is a file.
3434
35-
For the environment (-env) it will expect it as inline data. However, if you
35+
For the environment (-env), it will expect it as inline data. However, if you
3636
start it with @, it will assume it is a file. It tries to guess the format,
3737
giving precedence to JSON, then TOML, and lastly to YAML. Unless you specify to
3838
force parsing it via an option flag.

0 commit comments

Comments
 (0)