Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
slammayjammay committed Feb 7, 2021
1 parent 76cd951 commit d5ad792
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,10 @@ fs.readFile('somefile.txt', (err, data) => {
})
})
```

You can specify options to be passed to `less` (only if your platform is not windows).

```js
pager('my string', '-F'); // less -F
pager('my string'); // by default less -R (allows colors)
```

0 comments on commit d5ad792

Please sign in to comment.