cmdline: Make sure all errors go through main () function.