Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitae3b0d7

Browse files
committed
[Components][Console] Fix askConfirmation() description
1 parentb2d120c commitae3b0d7

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)

[8]ページ先頭

©2009-2025 Movatter.jp