alecthomas / alecthomas/kong

`[flags]` in the command summary placed wrong with `passthrough`

Offen
#465 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
3.2k
Forks
188
Ø Merge
1 T. 1 Std.
Gemergte PRs (30 T.)
2

Beschreibung

When you use `passthrough`, a summary like `Usage: foo [ ...] [flags]` is not accurate. Flags must come before the `passthrough` argument, so the summary should say `Usage: foo [flags] [ ...]`.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.