Fix review comments

This commit is contained in:
Yogesh Lonkar
2019-08-05 16:58:04 +02:00
parent d6523cf869
commit c5612e8cd2
2 changed files with 2 additions and 2 deletions

View File

@@ -183,7 +183,7 @@ func printCommandSuggestions(commands []Command, writer io.Writer) {
func cliArgContains(flagName string) bool {
for _, name := range strings.Split(flagName, ",") {
name = strings.Trim(name, " ")
name = strings.TrimSpace(name)
count := utf8.RuneCountInString(name)
if count > 2 {
count = 2