Skip to content

Commit

Permalink
docs: typo & incorrect yargs-array-notation link
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Freisler committed Oct 18, 2020
1 parent 7aea606 commit 92fc814
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ frs-replace <regex> <replacement> [options]

## :mag_right: Examples

> Note: while most of examples is using synchronous API method, in all cases `.async` is applicable as well.
> Note: While most of examples are using synchronous API method in all cases `.async` is applicable as well.
### 1. Replace all `a` occurences with `b` from given `foo.js` and returns result / writes result to console

Expand Down Expand Up @@ -185,7 +185,7 @@ or
frs-replace a b -i foo.js -i foo2.js -o foo_replaced.js --i-join-str "\n/////\n"
```

> Note: Arrays can be passed under single flag-entry as a space-separated list *or* under same flag repeated multiple times (all values will be concatenated into single array using, details - [yargs array notation](https://github.com/yargs/yargs-parser#dot-notation)).
> Note: Arrays can be passed under single flag-entry as a space-separated list *or* under same flag repeated multiple times (all values will be concatenated into single array using, details - [yargs array notation](https://github.com/yargs/yargs/blob/master/docs/tricks.md#arrays)).
### 4. Replace all `a` occurences with `b` from all `.js` files in `foo` directory and save result to `foo_replaced.js` using `\n/////\n` as result-joining string

Expand Down

0 comments on commit 92fc814

Please sign in to comment.