commandline: fixes --erase-only so it actually works