This is because if you mix packages that use pflag with those that use flag, it requires you to call both flag.Parse() anf pflag.Parse() - one or both of which will fail.
This seems to be a crippling requirement because if I choose to use pflag, I am precluded from using any other third party package that uses flag.
This is because if you mix packages that use pflag with those that use flag, it requires you to call both flag.Parse() anf pflag.Parse() - one or both of which will fail.
This seems to be a crippling requirement because if I choose to use pflag, I am precluded from using any other third party package that uses flag.