Permalink
Browse files

Restore indentation.

  • Loading branch information...
2 parents 9ae2c57 + 3280514 commit e35de273456f515c39aed3765e0c7e77862e814e @satazor satazor committed Jan 28, 2013
Showing with 6 additions and 6 deletions.
  1. +6 −6 README.md
View
@@ -105,12 +105,12 @@ promptly.prompt('Name: ', { validator: validator , retry: true}, function (err,
### .confirm(message, opts, fn) ###
-Ask the user to confirm something.
+Ask the user to confirm something.
Calls `fn` with `error` and `value` (true or false).
-The available options are the same, except that `retry` defaults to `true`.
-Truthy values are: `y`, `yes` and `1`.
-Falsy values are `n`, `no`, and `0`.
+The available options are the same, except that `retry` defaults to `true`.
+Truthy values are: `y`, `yes` and `1`.
+Falsy values are `n`, `no`, and `0`.
Comparison is made in a case insensitive way.
Example usage:
@@ -124,7 +124,7 @@ promptly.confirm('Are you sure? ', function (err, value) {
### .choose(message, choices, opts, fn) ###
-Ask the user to choose between multiple `choices` (array of choices).
+Ask the user to choose between multiple `choices` (array of choices).
Calls `fn` with `error` and `value` (true or false).
The available options are the same, except that `retry` defaults to `true`.
@@ -140,7 +140,7 @@ promptly.choose('Do you want an apple or an orange? ', ['apple', 'orange'], func
### .password(message, opts, fn) ###
-Prompts for a password, printing the `message` and waiting for the input.
+Prompts for a password, printing the `message` and waiting for the input.
When available, calls `fn` with `error` and `value`.
The available options are the same, except that `trim` and `silent` default to `false`.

0 comments on commit e35de27

Please sign in to comment.