lib/envflag: typo fix in docs to -envflag.enable: envoronment->environment

This commit is contained in:
Aliaksandr Valialkin 2020-02-27 21:47:49 +02:00
parent 63a88a619b
commit 6819db5686

View File

@ -8,7 +8,7 @@ import (
) )
var enable = flag.Bool("envflag.enable", false, "Whether to enable reading flags from environment variables additionally to command line. "+ var enable = flag.Bool("envflag.enable", false, "Whether to enable reading flags from environment variables additionally to command line. "+
"Command line flag values have priority over values from envoronment vars. "+ "Command line flag values have priority over values from environment vars. "+
"Flags are read only from command line if this flag isn't set") "Flags are read only from command line if this flag isn't set")
// Parse parses environment vars and command-line flags. // Parse parses environment vars and command-line flags.