update app cmd option, add compare.