change the way --filter option work to be more user friendly

you don't have to write a python dictionary on the command line in the --filter option, see usage for more precision