fixed redefined flag
This commit is contained in:
parent
d5e25c5a81
commit
d3bf5fa9a4
@ -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
|
||||
|
2
main.go
2
main.go
@ -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{}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user