Trim flags to avoid mistakes due to empty lines or espaces...
This commit is contained in:
parent
e6d8f2db1b
commit
0cc72712a4
7 changed files with 24 additions and 14 deletions
|
|
@ -38,6 +38,7 @@ type ExerciceFlag struct {
|
|||
ShowLines bool `toml:",omitempty"`
|
||||
Ordered bool `toml:",omitempty"`
|
||||
CaseSensitive bool `toml:",omitempty"`
|
||||
NoTrim bool `toml:",omitempty"`
|
||||
ValidatorRe string `toml:"validator_regexp,omitempty"`
|
||||
Placeholder string `toml:",omitempty"`
|
||||
Help string `toml:",omitempty"`
|
||||
|
|
|
|||
Reference in a new issue