Slurp up deprecated flags, logging a warning

Fix #1141 
`struct{}{}` is weird, `map[string]bool` seems more natural/idiomatic
```
if iMap[f.Name] {
    return
}
```