- `ExitOnError` → `ContinueOnError` on all three custom FlagSets, making the existing `if err != nil` parse error blocks live code instead of dead code - Add `errors.Is(err, flag.ErrHelp)` guard so `-h` after a subcommand argument exits cleanly instead of printing `"error parsing flags: flag: help requested"` - Remove redundant `flag.Parse()` call in `tcg.go` (no global flags registered there).
ExitOnError→ContinueOnErroron all three custom FlagSets, making the existingif err != nilparse error blocks live code instead of dead codeerrors.Is(err, flag.ErrHelp)guard so-hafter a subcommand argument exits cleanly instead of printing"error parsing flags: flag: help requested"flag.Parse()call intcg.go(no global flags registered there).