Fix isConfirm bool param for prompt, update doc