update getChoice() and runCmd()

user can input number/choices directly/unknown choice,
runCmd will try to format commend if len(cmd)>80;