vector -config-dir /etc/vector
Simply missing a hyphen in --config-dir there.
--config-dir
PS: thanks, I just learned about automatic namespacing.