Merge remote-tracking branch 'origin/master' into versioned-docs

This commit is contained in:
Lynn Cyrin 2019-10-12 01:01:54 -07:00
commit 6988ce08d5
No known key found for this signature in database
GPG Key ID: EE9CCB427DFEC897
3 changed files with 10 additions and 3 deletions

View File

@ -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

View File

@ -1,3 +1,5 @@
#compdef $PROG
_cli_zsh_autocomplete() { _cli_zsh_autocomplete() {
local -a opts local -a opts

View File

@ -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