Use forked pflag package with more data types
Used forked pflag package.