diff --git a/help.go b/help.go index d057a03..e504fc2 100644 --- a/help.go +++ b/help.go @@ -4,7 +4,6 @@ import ( "fmt" "io" "os" - "regexp" "strings" "text/tabwriter" "text/template" @@ -157,8 +156,6 @@ func ShowAppHelp(c *Context) (err error) { return nil } -var shortFlagRegex = regexp.MustCompile(`^-`) - // DefaultAppComplete prints the list of subcommands as the default app completion method func DefaultAppComplete(c *Context) { DefaultCompleteWithFlags(nil)(c)