From f5f7e47213388823f3d3048c24346018d4d861c5 Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Wed, 1 Jul 2020 10:20:01 -0400 Subject: [PATCH] Replace flag imports with spf13/pflag in README. The README examples imported flag, but used pflag instead. This just reflects the change in imports. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e034366..0798e22 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,9 @@ See `examples/` for more. package main import ( - "flag" "fmt" + "github.com/spf13/pflag" "go.coder.com/cli" ) @@ -78,9 +78,9 @@ simple-example flags: package main import ( - "flag" "fmt" + "github.com/spf13/pflag" "go.coder.com/cli" ) @@ -135,4 +135,4 @@ This is a simple example of subcommands. Commands: sub This is a simple subcommand. -``` \ No newline at end of file +```