Slurp up deprecated flags, logging a warning

Fix #1141 
It's easier to read a list of things than a map, so I wanted to build this weird single-use map on-demand. I'm using `struct{} here for the same reason we use `struct{}` in a trigger channel