repochecker: Check flag's help content through mdTextHooks

This commit is contained in:
nemunaire 2023-11-25 10:32:48 +01:00
commit b52622c772
2 changed files with 8 additions and 3 deletions

View file

@ -27,9 +27,7 @@ func GrammalecteCheckKeyFlag(flag *fic.FlagKey, raw string, exercice *fic.Exerci
errs = multierr.Append(errs, err)
}
if len(flag.Help) > 0 {
errs = multierr.Append(errs, grammalecte("help ", flag.Help, -1, exceptions, &CommonOpts))
}
// Flag help are checked through GrammalecteCheckMDText, no need to check them
return
}