code: func (f *FlagSet) failf(format string, a ...interface{}) error {
  	err := fmt.Errorf(format, a...)
  	fmt.Fprintln(f.out(), err)
  	f.usage()
  	return err
  }
docs: // failf prints to standard error a formatted error and usage message and
  // returns the error.