internal/flags: fix typo (#28876)

This commit is contained in:
alex 2024-01-26 15:57:04 +08:00 committed by GitHub
parent cd0770ea68
commit bc0b87ca19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ func doMigrateFlags(ctx *cli.Context) {
for _, parent := range ctx.Lineage()[1:] { for _, parent := range ctx.Lineage()[1:] {
if parent.IsSet(name) { if parent.IsSet(name) {
// When iterating across the lineage, we will be served both // When iterating across the lineage, we will be served both
// the 'canon' and alias formats of all commmands. In most cases, // the 'canon' and alias formats of all commands. In most cases,
// it's fine to set it in the ctx multiple times (one for each // it's fine to set it in the ctx multiple times (one for each
// name), however, the Slice-flags are not fine. // name), however, the Slice-flags are not fine.
// The slice-flags accumulate, so if we set it once as // The slice-flags accumulate, so if we set it once as