parse options before print ps1