Skip to content

Commit 203592f

Browse files
authored
Merge pull request console-rs#61 from SOF3/patch-1
2 parents ef0cf6d + a951fe9 commit 203592f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prompts/confirm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use console::Term;
1212
/// # fn test() -> Result<(), Box<std::error::Error>> {
1313
/// use dialoguer::Confirm;
1414
///
15-
/// if Confirm::new().with_text("Do you want to continue?").interact()? {
15+
/// if Confirm::new().with_prompt("Do you want to continue?").interact()? {
1616
/// println!("Looks like you want to continue");
1717
/// } else {
1818
/// println!("nevermind then :(");

0 commit comments

Comments
 (0)