title: golang: How can I use pflag with other packages that use flag?
body: <p>How does one use pflag while also using other packages that use flag?</p>
  
  <p>Some of these packages define flags for the flag package (e.g. in their init functions) - and require flag.Parse() to be called.</p>
  
  <p>Defining flags using the pflag package, require pflag.Parse() to be called.</p>
  
  <p>One of the calls to flag.Parse() and pflag.Parse() will fail when arguments are mixed.</p>
  
  <p>How does one use pflag with other packages that use flag?</p>