diff --git a/command.go b/command.go index 510918ac..5f6d7666 100644 --- a/command.go +++ b/command.go @@ -140,7 +140,7 @@ type Command struct { commandsAreSorted bool // commandCalledAs is the name or alias value used to call this command. commandCalledAs struct { - name string + name string called bool } diff --git a/command_test.go b/command_test.go index 33a23d62..2b7b4ad4 100644 --- a/command_test.go +++ b/command_test.go @@ -526,11 +526,11 @@ func TestUpdateName(t *testing.T) { } type calledAsTestcase struct { - args []string - call string - want string - epm bool - tc bool + args []string + call string + want string + epm bool + tc bool } func (tc *calledAsTestcase) test(t *testing.T) {