Take a look at the examples in the filtering tutorial. When I look at them, it looks like there are spaces after the semicolons ; in the --p-exclude flag.
--p-exclude "k__Bacteria; p__Proteobacteria; c__Alphaproteobacteria; o__Rickettsiales; f__mitochondria"
space here ^