alecthomas / alecthomas/kong

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

Aperta
#465 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
3.2k
Fork
188
Merge medio
1g 1h
PR unite (30g)
2

Descrizione

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] [ ...]`.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.