Fix unused regex
This commit is contained in:
parent
2be2bc755e
commit
1db049685a
3
help.go
3
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)
|
||||
|
Loading…
Reference in New Issue
Block a user