We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef0cf6d + a951fe9 commit 203592fCopy full SHA for 203592f
src/prompts/confirm.rs
@@ -12,7 +12,7 @@ use console::Term;
12
/// # fn test() -> Result<(), Box<std::error::Error>> {
13
/// use dialoguer::Confirm;
14
///
15
-/// if Confirm::new().with_text("Do you want to continue?").interact()? {
+/// if Confirm::new().with_prompt("Do you want to continue?").interact()? {
16
/// println!("Looks like you want to continue");
17
/// } else {
18
/// println!("nevermind then :(");
0 commit comments