repochecker: Check flag's help content through mdTextHooks
This commit is contained in:
parent
9896445e00
commit
b52622c772
2 changed files with 8 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue