From 499df2b2e79c16236bc5ddb9d61c24e8503a0c91 Mon Sep 17 00:00:00 2001 From: Oleg Kovalov Date: Sat, 21 May 2022 13:17:14 +0200 Subject: [PATCH] Update example again --- README.md | 2 +- example_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9434816..29a2684 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ go get github.com/cristalhq/flagx ## Example ```go -args := []string{"-t", "20s"} +args := []string{"-t", "20s"} // or os.Args[1:] var d time.Duration fset := flagx.NewFlagSet("testing", os.Stderr) diff --git a/example_test.go b/example_test.go index de1368a..ad37bbc 100644 --- a/example_test.go +++ b/example_test.go @@ -10,7 +10,7 @@ import ( ) func ExampleFlagSet() { - args := []string{"-t", "20s"} + args := []string{"-t", "20s"} // or os.Args[1:] var d time.Duration fset := flagx.NewFlagSet("testing", os.Stderr)