Skip to content
This repository was archived by the owner on Oct 17, 2021. It is now read-only.

Commit f5f7e47

Browse files
committed
Replace flag imports with spf13/pflag in README.
The README examples imported flag, but used pflag instead. This just reflects the change in imports.
1 parent 471603a commit f5f7e47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ See `examples/` for more.
2727
package main
2828

2929
import (
30-
"flag"
3130
"fmt"
3231

32+
"github.com/spf13/pflag"
3333
"go.coder.com/cli"
3434
)
3535

@@ -78,9 +78,9 @@ simple-example flags:
7878
package main
7979

8080
import (
81-
"flag"
8281
"fmt"
8382

83+
"github.com/spf13/pflag"
8484
"go.coder.com/cli"
8585
)
8686

@@ -135,4 +135,4 @@ This is a simple example of subcommands.
135135
136136
Commands:
137137
sub This is a simple subcommand.
138-
```
138+
```

0 commit comments

Comments
 (0)