Skip to content

Commit

Permalink
fix: add -h option to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
antonfisher committed Feb 8, 2018
1 parent f2cce35 commit fc40e47
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,26 @@ $ utop

Options:

-i, --interval <n> update interval in seconds (default: 0.5)
--demo run program in demo mode
-v, --version output the version number
-h, --help output usage information
-i, --interval <n> update interval in seconds (default: 0.5)
-h, --chart-height <n> chart height in rows (default: 1)
--demo run program in demo mode
-v, --version output the version number
-h, --help output usage information
```

### Chart height
```bash
# default
$ utop -- tar -xzvf backup.tar.gz
```
![UTop -h 1](https://raw.githubusercontent.com/antonfisher/utop/docs/images/utop-h-1.png)

```bash
# height = 3 rows
$ utop -h 3 -- tar -xzvf backup.tar.gz
```
![UTop -h 3](https://raw.githubusercontent.com/antonfisher/utop/docs/images/utop-h-3.png)

## Requirements
Node.js v6.0.0 or higher.

Expand Down

0 comments on commit fc40e47

Please sign in to comment.