fix example usage of passing environment variables

The syntax is not envVar, that is the name of the internal struct.  The
list is just "env"
Merge pull request #2200 from eparis/example-env-fix

fix example usage of passing environment variables