`[flags]` in the command summary placed wrong with `passthrough`
Author: dbohdanCreated Oct 28, 2024Updated Feb 21, 2026
When you use `passthrough`, a summary like `Usage: foo <command> [<args> ...] [flags]` is not accurate. Flags must come before the `passthrough` argument, so the summary should say `Usage: foo [flags] <command> [<args> ...]`.
Source: alecthomas/kong