remove redundant cmd func args, use global prompt instead