diff --git a/admin/sync/exercice_keys.go b/admin/sync/exercice_keys.go index ee7cb9ba..0b11c11d 100644 --- a/admin/sync/exercice_keys.go +++ b/admin/sync/exercice_keys.go @@ -169,6 +169,10 @@ func buildKeyFlag(exercice fic.Exercice, flag ExerciceFlag, flagline int, defaul } choice.Label = prep + choice.Label + if !flag.CaseSensitive { + val = strings.ToLower(val) + } + choices = append(choices, fic.FlagChoice{ Label: choice.Label, Value: val,