Open jscheinblum opened 5 years ago
@jscheinblum are you using vitess go driver or have you switched to using mysql protocol with native provided go mysql driver?
That's with the Vitess go driver. We see the same thing. It's a good case against stdlib flags.
We're starting to use the vitess golang GRPC driver, but it looks like it registers all the flags of the vitess driver. This is mostly an aesthetic issue, but it does register flags like
-v
that would be useful for the application that uses the driver. In this case, this prevents us from using Go flags and having a -v verbose for the application's logging.I have a little repro of the issue: https://github.com/jscheinblum/vitessflags
And this is the output of the help from the simple app: