From 265efcb9f88a78ee52eb5644d4db86e49788991f Mon Sep 17 00:00:00 2001 From: baude Date: Mon, 4 Dec 2017 10:24:08 -0600 Subject: Vendor in latest urfave/cli The latest urfave/cli has the ability for us to use short options when it is a bool. Signed-off-by: baude Closes: #100 Approved by: rhatdan --- vendor/github.com/urfave/cli/funcs.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'vendor/github.com/urfave/cli/funcs.go') diff --git a/vendor/github.com/urfave/cli/funcs.go b/vendor/github.com/urfave/cli/funcs.go index cba5e6cb0..0036b1130 100644 --- a/vendor/github.com/urfave/cli/funcs.go +++ b/vendor/github.com/urfave/cli/funcs.go @@ -23,6 +23,22 @@ type CommandNotFoundFunc func(*Context, string) // is displayed and the execution is interrupted. type OnUsageErrorFunc func(context *Context, err error, isSubcommand bool) error +// ExitErrHandlerFunc is executed if provided in order to handle ExitError values +// returned by Actions and Before/After functions. +type ExitErrHandlerFunc func(context *Context, err error) + // FlagStringFunc is used by the help generation to display a flag, which is // expected to be a single line. type FlagStringFunc func(Flag) string + +// FlagNamePrefixFunc is used by the default FlagStringFunc to create prefix +// text for a flag's full name. +type FlagNamePrefixFunc func(fullName, placeholder string) string + +// FlagEnvHintFunc is used by the default FlagStringFunc to annotate flag help +// with the environment variable details. +type FlagEnvHintFunc func(envVar, str string) string + +// FlagFileHintFunc is used by the default FlagStringFunc to annotate flag help +// with the file path details. +type FlagFileHintFunc func(filePath, str string) string -- cgit v1.2.3-54-g00ecf