Extra args depends on location

Virt-install gives me this error upon cdrom install:
ERROR    --extra-args only work if specified with --location.
command failed (1)