Update vendor for all new features

This commit is contained in:
Nicholas Thompson
2020-06-15 14:05:59 +02:00
parent 934c629a41
commit 1840fae1aa
551 changed files with 269828 additions and 3 deletions

27
vendor/github.com/jessevdk/go-flags/arg.go generated vendored Normal file
View File

@@ -0,0 +1,27 @@
package flags
import (
"reflect"
)
// Arg represents a positional argument on the command line.
type Arg struct {
// The name of the positional argument (used in the help)
Name string
// A description of the positional argument (used in the help)
Description string
// The minimal number of required positional arguments
Required int
// The maximum number of required positional arguments
RequiredMaximum int
value reflect.Value
tag multiTag
}
func (a *Arg) isRemaining() bool {
return a.value.Type().Kind() == reflect.Slice
}