Skip to content

Commit

Permalink
Restore indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
satazor committed Jan 28, 2013
2 parents 9ae2c57 + 3280514 commit e35de27
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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`.
Expand All @@ -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`.
Expand Down

0 comments on commit e35de27

Please sign in to comment.