Skip to content
Myr

Merge pull request #211 from NanXiao/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Update command.go

authored by Eric Paris · committed by Eric Paris · parents ee6224d, d95d1b8 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:command.go+1 added-1 removed
745 unmodified lines
746 nameLen := len(x.Name())747 if nameLen > c.commandsMaxNameLen {748 c.commandsMaxNameLen = nameLen749 }750 // If glabal normalization function exists, update all children750 // If global normalization function exists, update all children751 if c.globNormFunc != nil {752 x.SetGlobalNormalizationFunc(c.globNormFunc)753 }754 c.commands = append(c.commands, x)
446 unmodified lines