Honor exit argument in Command.do