Fix unused regex

main
Yogesh Lonkar 5 years ago
parent 2be2bc755e
commit 1db049685a
No known key found for this signature in database
GPG Key ID: A08E266247F12F6A

@ -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…
Cancel
Save