Use pflag as a drop-in replacement for Go's flag package
masterYou can use pflag as a replacement for the standard Go flag package by importing it under the name flag. Most code will function without changes.
Exception: If you directly instantiate the Flag struct, you must manually set the Shorthand field.
import flag "github.com/spf13/pflag"