diff --git a/docs/migrate-v2-to-v3.md b/docs/migrate-v2-to-v3.md index 1d70b5fdff..43ad4c63e0 100644 --- a/docs/migrate-v2-to-v3.md +++ b/docs/migrate-v2-to-v3.md @@ -394,7 +394,7 @@ Similar messages would be shown for other funcs. ```go &cli.StringFlag{ Name: "foo", - TakesFiles: true, + TakesFile: true, } ```