Parse the state command