merge: resolve conflicts with origin/main in help.go

Keep branch additions (errSilent, exactArgs, examples template blocks)
that were added in the CLI help UX improvement.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
yushen
2026-04-05 07:03:03 +08:00

View File

@@ -35,6 +35,7 @@ func exactArgs(n int) cobra.PositionalArgs {
}
}
// initHelp configures the root command to use gh-style help output.
func initHelp(root *cobra.Command) {
root.SetHelpTemplate(rootHelpTemplate)