flagSet creates a named flag.FlagSet that prints errors instead of exiting.
(name string)
| 10 | |
| 11 | // flagSet creates a named flag.FlagSet that prints errors instead of exiting. |
| 12 | func flagSet(name string) *flag.FlagSet { |
| 13 | fs := flag.NewFlagSet(name, flag.ContinueOnError) |
| 14 | fs.SetOutput(os.Stderr) |
| 15 | return fs |
| 16 | } |
| 17 | |
| 18 | // currentSessionID returns this process's harness session id, or "" |
| 19 | // if not running inside any known harness. Probes every implemented |
no outgoing calls
no test coverage detected