Skip to content

Commit

Permalink
docs(readme): update command syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMarble committed Apr 16, 2022
1 parent 9213c8a commit 392bf79
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Available options:
> a terminal of dimensions not smaller than the one used for recording, as
> there's no "transcoding" of control sequences for new terminal size.
### `export`
### `export <filename>`

**Export recorded asciicast to svg.**

Expand All @@ -109,12 +109,11 @@ This command exports given asciicast (as recorded by `rec` command) to svg.
Exporting from a local file:

```sh
termsvg export -i /path/to/asciicast.cast
termsvg export /path/to/asciicast.cast
```

Available options:

- `-i, --input=<file>` - Asciicast file to export.
- `-o, --output=<file>` - Output svg to be created. Defaults to [input].svg
- `-m, --minify` - Minify svg using [Minify](https://github.com/tdewolff/minify)

Expand Down

0 comments on commit 392bf79

Please sign in to comment.