v1 bug: ( Cannot use cli.StringFlag (type cli.StringFlag) as type cli.Flag ) #1010
Labels
area/v1
relates to / is being considered for v1
kind/bug
describes or fixes a bug
status/triage
maintainers still need to look into this
Hello, it's my first time to use this module. I have a question about manual v1.
https://github.com/urfave/cli/blob/master/docs/v1/manual.md#placeholder-values
I see the manual tell us to change type cli.StringFlag as cli.Flag(An interface type), but when I compile the code below, it will raise an error
When I finish compiling with my solution, I haven't seen the result in help output like:
--config FILE, -c FILE Load configuration from FILE
,does the document need to be updated?I use
go get -t -v github.com/urfave/cli
to download this module, and my go version isgo1.13.4 linux/amd64
Can you point out my mistake?
thank you.
The text was updated successfully, but these errors were encountered: