Skip to content

Commit fbed452

Browse files
committed
Fix gfmrun
1 parent 43e92cb commit fbed452

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/v3/examples/arguments/advanced.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ func main() {
139139
},
140140
},
141141
Action: func(ctx context.Context, cmd *cli.Command) error {
142-
fmt.Printf("We got %v", cmd.IntArgs("someint"))
142+
fmt.Println("We got ", cmd.IntArgs("someint"))
143143
return nil
144144
},
145145
}
@@ -186,7 +186,7 @@ func main() {
186186
},
187187
},
188188
Action: func(ctx context.Context, cmd *cli.Command) error {
189-
fmt.Printf("We got %v", ivals)
189+
fmt.Println("We got ", ivals)
190190
return nil
191191
},
192192
}

0 commit comments

Comments
 (0)