Skip to content

Commit

Permalink
fix: word spelling error
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzhiter committed May 8, 2024
1 parent bcc10a7 commit d2eacec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kitexcall.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
)

func main() {
args := argparse.NewAugment()
args := argparse.NewArgument()

if err := args.ParseArgs(); err != nil {
fail(err)
Expand Down
2 changes: 1 addition & 1 deletion pkg/argparse/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type Argument struct {
help bool
}

func NewAugment() *Argument {
func NewArgument() *Argument {
return &Argument{
Config: config.Config{
Meta: make(map[string]string),
Expand Down
2 changes: 1 addition & 1 deletion pkg/argparse/args_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
)

func TestAugment_ParseArgs(t *testing.T) {
a := NewAugment()
a := NewArgument()

for _, tt := range []struct {
name string
Expand Down

0 comments on commit d2eacec

Please sign in to comment.