From 9e7684f359a38eed3f80beba33297dbbb72d48c1 Mon Sep 17 00:00:00 2001 From: anseki Date: Wed, 30 Aug 2017 13:08:29 +0900 Subject: [PATCH] Typo --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7f3ae98..cbe7c13 100644 --- a/README.md +++ b/README.md @@ -1469,7 +1469,7 @@ For example: ```js items = ['item-A', 'item-B', 'item-C', 'item-D', 'item-E']; index = readlineSync.keyInSelect(items, null, - {cancel: 'Show more items than $'}); + {cancel: 'Show more than $ items'}); ``` ```console @@ -1478,7 +1478,7 @@ index = readlineSync.keyInSelect(items, null, [3] item-C [4] item-D [5] item-E -[0] Show more items than 5 +[0] Show more than 5 items ``` ##### `firstItem` @@ -1556,7 +1556,7 @@ The placeholder is replaced to a string that is got by a `parameter`. Both the `(text1)` and `(text2)` are optional. A more added `'$'` at the left of the placeholder is used as an escape character, it disables a placeholder. For example, `'$$'` is replaced to `'$'`. If you want to put a `'$'` which is *not* an escape character at the left of a placeholder, specify it like `'$<($)bufferSize>'`, then it is replaced to `'$1024'`. -At the each position of `'(text1)'` and `'(text2)'`, `'text1'` and `'text2'` are put when a string that was got by a `parameter` has length more than 0. If that got string is `''`, a placeholder with or without `'(text1)'` and `'(text2)'` is replaced to `''`. +At the each position of `'(text1)'` and `'(text2)'`, `'text1'` and `'text2'` are put when a string that was got by a `parameter` has more than 0 length. If that got string is `''`, a placeholder with or without `'(text1)'` and `'(text2)'` is replaced to `''`. For example, a warning message that means that the command the user requested is not available: