package main

import "flag"

// newFlagSet returns a flag set that reports parse errors instead of exiting,
// so the caller controls the exit path uniformly.
func newFlagSet(name string) *flag.FlagSet {
	return flag.NewFlagSet(name, flag.ContinueOnError)
}
