Parse command option (very rough way)