parse command from text and append (extra) options to result