Fix unused regex
@@ -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)
