Output returns the destination for usage and error messages. os.Stderr is returned if output was not set or was set to nil.
()
| 281 | // Output returns the destination for usage and error messages. os.Stderr is returned if |
| 282 | // output was not set or was set to nil. |
| 283 | func (f *FlagSet) Output() io.Writer { |
| 284 | if f.output == nil { |
| 285 | return os.Stderr |
| 286 | } |
| 287 | return f.output |
| 288 | } |
| 289 | |
| 290 | // Name returns the name of the flag set. |
| 291 | func (f *FlagSet) Name() string { |
no outgoing calls