fixed redefined flag

This commit is contained in:
Tordarus 2025-02-01 19:33:07 +01:00
parent d5e25c5a81
commit d3bf5fa9a4
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ $ loadenv | tail -n 1
USERNAME=$USER # contains literal "$USER" instead of "my-username"
```
Use `-e` to expand variables in such cases:
Use `-r` to expand variables in such cases:
```sh
$ env | grep USER # current value of $USER

View File

@ -20,7 +20,7 @@ var (
var ( // flags
FlagEnvFilePath = flag.String("f", ".env", "environment file")
FlagExpandRecursively = flag.Bool("e", false, "expand references in reference definitions")
FlagExpandRecursively = flag.Bool("r", false, "expand references in reference definitions")
FlagExpandEnvFiles = SliceFlag{}
)