--iexclude and --iinclude

restic help backup says
–iexclude --exclude same as --exclude but ignores the casing of filenames

I think instead of “–exclude” the message should say “pattern”, I can see no other sensible explanation.

Same with restic restore --iinclude

Actually it would have to ignore the casing of both the pattern and the file path being tested.

Perhaps it could be reworded more simply to say “same as --exclude but the pattern match is performed case-insensitively.”