Merge remote-tracking branch 'origin/master' into versioned-docs
This commit is contained in:
commit
6988ce08d5
@ -6,16 +6,21 @@ image: Visual Studio 2017
|
|||||||
|
|
||||||
clone_folder: c:\gopath\src\github.com\urfave\cli
|
clone_folder: c:\gopath\src\github.com\urfave\cli
|
||||||
|
|
||||||
|
cache:
|
||||||
|
- node_modules
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
GOPATH: C:\gopath
|
GOPATH: C:\gopath
|
||||||
GOVERSION: 1.11.x
|
GOVERSION: 1.11.x
|
||||||
|
GO111MODULE: on
|
||||||
|
GOPROXY: https://proxy.golang.org
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- set PATH=%GOPATH%\bin;C:\go\bin;%PATH%
|
- set PATH=%GOPATH%\bin;C:\go\bin;%PATH%
|
||||||
- go version
|
- go version
|
||||||
- go env
|
- go env
|
||||||
- go get github.com/urfave/gfmrun/...
|
- go get github.com/urfave/gfmrun/cmd/gfmrun
|
||||||
- go get -v -t ./...
|
- go mod vendor
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- go run build.go vet
|
- go run build.go vet
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#compdef $PROG
|
||||||
|
|
||||||
_cli_zsh_autocomplete() {
|
_cli_zsh_autocomplete() {
|
||||||
|
|
||||||
local -a opts
|
local -a opts
|
||||||
|
2
flag.go
2
flag.go
@ -86,7 +86,7 @@ type RequiredFlag interface {
|
|||||||
type DocGenerationFlag interface {
|
type DocGenerationFlag interface {
|
||||||
Flag
|
Flag
|
||||||
|
|
||||||
// TakesValue returns true of the flag takes a value, otherwise false
|
// TakesValue returns true if the flag takes a value, otherwise false
|
||||||
TakesValue() bool
|
TakesValue() bool
|
||||||
|
|
||||||
// GetUsage returns the usage string for the flag
|
// GetUsage returns the usage string for the flag
|
||||||
|
Loading…
Reference in New Issue
Block a user