diff --git a/admin/sync/exercice_keys.go b/admin/sync/exercice_keys.go index 89be3b60..e865d3a1 100644 --- a/admin/sync/exercice_keys.go +++ b/admin/sync/exercice_keys.go @@ -170,7 +170,7 @@ func buildKeyFlag(exercice fic.Exercice, flag ExerciceFlag, flagline int, defaul Value: val, }) - if val == raw { + if val == raw || (!flag.CaseSensitive && val == strings.ToLower(raw)) { hasOne = true } }