Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
Fix: README
Browse files Browse the repository at this point in the history
  • Loading branch information
anseki committed May 23, 2015
1 parent 146c05c commit 7b20ed4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ Set the encoding method of the input and output.

### <a name="basic_options-buffersize"></a>`bufferSize`

_For `question*` and `prompt*` methods only_
*Type:* number
*Default:* `1024`

Expand Down Expand Up @@ -740,8 +741,8 @@ The following option has independent default value that is not affected by [Defa
The following options work as shown in the [Basic Options](#basic_options) section.

<table>
<tr><td><a href="#basic_options-hideechoback"><code>hideEchoBack</code></a></td><td><a href="#basic_options-mask"><code>mask</code></a></td><td><a href="#basic_options-defaultinput"><code>defaultInput</code></a></td><td><a href="#basic_options-casesensitive"><code>caseSensitive</code></a></td><td><a href="#basic_options-keepwhitespace"><code>keepWhitespace</code></a></td></tr>
<tr><td><a href="#basic_options-encoding"><code>encoding</code></a></td><td><a href="#basic_options-buffersize"><code>bufferSize</code></a></td><td><a href="#basic_options-print"><code>print</code></a></td><td><a href="#basic_options-history"><code>history</code></a></td></tr>
<tr><td><a href="#basic_options-hideechoback"><code>hideEchoBack</code></a></td><td><a href="#basic_options-mask"><code>mask</code></a></td><td><a href="#basic_options-defaultinput"><code>defaultInput</code></a></td><td><a href="#basic_options-encoding"><code>encoding</code></a></td><td><a href="#basic_options-buffersize"><code>bufferSize</code></a></td></tr>
<tr><td><a href="#basic_options-print"><code>print</code></a></td><td><a href="#basic_options-history"><code>history</code></a></td></tr>
</table>

### <a name="utility_methods-questionfloat"></a>`questionFloat`
Expand All @@ -766,8 +767,8 @@ The following option has independent default value that is not affected by [Defa
The following options work as shown in the [Basic Options](#basic_options) section.

<table>
<tr><td><a href="#basic_options-hideechoback"><code>hideEchoBack</code></a></td><td><a href="#basic_options-mask"><code>mask</code></a></td><td><a href="#basic_options-defaultinput"><code>defaultInput</code></a></td><td><a href="#basic_options-casesensitive"><code>caseSensitive</code></a></td><td><a href="#basic_options-keepwhitespace"><code>keepWhitespace</code></a></td></tr>
<tr><td><a href="#basic_options-encoding"><code>encoding</code></a></td><td><a href="#basic_options-buffersize"><code>bufferSize</code></a></td><td><a href="#basic_options-print"><code>print</code></a></td><td><a href="#basic_options-history"><code>history</code></a></td></tr>
<tr><td><a href="#basic_options-hideechoback"><code>hideEchoBack</code></a></td><td><a href="#basic_options-mask"><code>mask</code></a></td><td><a href="#basic_options-defaultinput"><code>defaultInput</code></a></td><td><a href="#basic_options-encoding"><code>encoding</code></a></td><td><a href="#basic_options-buffersize"><code>bufferSize</code></a></td></tr>
<tr><td><a href="#basic_options-print"><code>print</code></a></td><td><a href="#basic_options-history"><code>history</code></a></td></tr>
</table>

### <a name="utility_methods-questionpath"></a>`questionPath`
Expand Down Expand Up @@ -828,8 +829,7 @@ The following options have independent default value that is not affected by [De
The following options work as shown in the [Basic Options](#basic_options) section.

<table>
<tr><td><a href="#basic_options-mask"><code>mask</code></a></td><td><a href="#basic_options-defaultinput"><code>defaultInput</code></a></td><td><a href="#basic_options-casesensitive"><code>caseSensitive</code></a></td><td><a href="#basic_options-encoding"><code>encoding</code></a></td><td><a href="#basic_options-buffersize"><code>bufferSize</code></a></td></tr>
<tr><td><a href="#basic_options-print"><code>print</code></a></td></tr>
<tr><td><a href="#basic_options-mask"><code>mask</code></a></td><td><a href="#basic_options-defaultinput"><code>defaultInput</code></a></td><td><a href="#basic_options-encoding"><code>encoding</code></a></td><td><a href="#basic_options-buffersize"><code>bufferSize</code></a></td><td><a href="#basic_options-print"><code>print</code></a></td></tr>
</table>

And the following additional options are available.
Expand Down Expand Up @@ -1214,7 +1214,7 @@ if (readlineSync.keyInYN('Continue virus scan?') === false) {
The following options work as shown in the [Basic Options](#basic_options) section.

<table>
<tr><td><a href="#basic_options-encoding"><code>encoding</code></a></td><td><a href="#basic_options-buffersize"><code>bufferSize</code></a></td><td><a href="#basic_options-print"><code>print</code></a></td></tr>
<tr><td><a href="#basic_options-encoding"><code>encoding</code></a></td><td><a href="#basic_options-print"><code>print</code></a></td></tr>
</table>

And the following additional option is available.
Expand Down Expand Up @@ -1300,7 +1300,7 @@ The following option has independent default value that is not affected by [Defa
The following options work as shown in the [Basic Options](#basic_options) section.

<table>
<tr><td><a href="#basic_options-casesensitive"><code>caseSensitive</code></a></td><td><a href="#basic_options-encoding"><code>encoding</code></a></td><td><a href="#basic_options-buffersize"><code>bufferSize</code></a></td><td><a href="#basic_options-print"><code>print</code></a></td></tr>
<tr><td><a href="#basic_options-casesensitive"><code>caseSensitive</code></a></td><td><a href="#basic_options-encoding"><code>encoding</code></a></td><td><a href="#basic_options-print"><code>print</code></a></td></tr>
</table>

And the following additional option is available.
Expand Down Expand Up @@ -1366,7 +1366,7 @@ The following option has independent default value that is not affected by [Defa
The following options work as shown in the [Basic Options](#basic_options) section.

<table>
<tr><td><a href="#basic_options-mask"><code>mask</code></a></td><td><a href="#basic_options-encoding"><code>encoding</code></a></td><td><a href="#basic_options-buffersize"><code>bufferSize</code></a></td><td><a href="#basic_options-print"><code>print</code></a></td></tr>
<tr><td><a href="#basic_options-mask"><code>mask</code></a></td><td><a href="#basic_options-encoding"><code>encoding</code></a></td><td><a href="#basic_options-print"><code>print</code></a></td></tr>
</table>

And the following additional options are available.
Expand Down
4 changes: 2 additions & 2 deletions lib/readline-sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ function _questionNum(query, options, parser) {
// -------- forced
limit: getValidValue,
cd: false
// trueValue, falseValue don't work.
// trueValue, falseValue, caseSensitive, keepWhitespace don't work.
}));
return validValue;
}
Expand Down Expand Up @@ -1008,7 +1008,7 @@ exports.questionPath = function(query, options) {
}
return true;
},
// trueValue, falseValue don't work.
// trueValue, falseValue, caseSensitive don't work.
phContent: function(param) {
return param === 'error' ? error :
param !== 'min' && param !== 'max' ? null :
Expand Down

0 comments on commit 7b20ed4

Please sign in to comment.