Skip to content

Commit ae3b0d7

Browse files
committed
[Components][Console] Fix askConfirmation() description
1 parent b2d120c commit ae3b0d7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

components/console/helpers/dialoghelper.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ the following to your command::
3131
return;
3232
}
3333

34-
In this case, the user will be asked "Continue with this action?", and will return
35-
``true`` if the user answers with ``y`` or false in any other case. The third
36-
argument to ``askConfirmation`` is the default value to return if the user doesn't
37-
enter any input.
34+
In this case, the user will be asked "Continue with this action?", and will
35+
return ``true`` if the user answers with ``y`` or ``false`` if the user answers
36+
with ``n``. The third argument to ``askConfirmation`` is the default value to
37+
return if the user doesn't enter any input. Any other input will ask the same
38+
question again.
3839

3940
Asking the User for Information
4041
-------------------------------

0 commit comments

Comments
 (0)