We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22bee4f commit 08007faCopy full SHA for 08007fa
docs/migrate-v2-to-v3.md
@@ -216,4 +216,27 @@ Compiler messages you might see(for ActionFunc):
216
```
217
cannot use func literal (type func(*cli.Context) error) as type cli.ActionFunc in field value
218
219
-Similar messages would be shown for other funcs
+
220
+Similar messages would be shown for other funcs.
221
222
+## TimestampFlag
223
224
+=== "v2"
225
226
+ ```go
227
+ &cli.TimestampFlag{
228
+ Name: "foo",
229
+ Layout: time.RFC3339,
230
+ }
231
+ ```
232
233
+=== "v3"
234
235
236
237
238
+ Config: cli.TimestampConfig{
239
+ Layouts: []string{time.RFC3339},
240
+ },
241
242
0 commit comments