cmd should exit bad in cli