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.
1 parent ef0cf6d commit a951fe9Copy full SHA for a951fe9
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