fix(tools/git): -h/--help now exits 0 across 7 wrappers #702

Merged
jason.woltje merged 1 commits from fix/701-git-wrapper-help-exit-code into main 2026-07-11 09:23:47 +00:00

1 Commits

Author SHA1 Message Date
Hermes Agent
ab643e70ff fix(tools/git): -h/--help now exits 0 across 7 wrappers (#701)
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful
usage() hard-coded exit 1, so every --help/-h invocation on
issue-assign, issue-create, issue-list, milestone-create, pr-create,
pr-list, and pr-merge exited nonzero, logging phantom isError records
across fleet lanes and breaking set -e composition. usage() now takes
an exit-code arg (default 1); the -h|--help case calls usage 0. All
other error paths are untouched.

Closes #701
2026-07-11 04:16:29 -05:00