Skip to content
This repository was archived by the owner on Jun 16, 2020. It is now read-only.

Commit e107277

Browse files
committed
Minor tweaks before release
1 parent 7fe781b commit e107277

File tree

5 files changed

+15
-16
lines changed

5 files changed

+15
-16
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Changelog
22

3-
## Version 0.9.0rc0 (2019-07-06)
3+
## Version 0.9.0 (2019-07-06)
44

5-
* Switch from SMIL animations to animations created via CSS or the Web Animations API (issues[#75](https://github.com/nbedos/termtosvg/issues/75),
5+
* Switch from SMIL animations to animations created via CSS or the Web Animations API (issues [#75](https://github.com/nbedos/termtosvg/issues/75),
66
[#86](https://github.com/nbedos/termtosvg/issues/86),
77
[#94](https://github.com/nbedos/termtosvg/issues/94))
88
* Add CLI option `--loop-delay` for customization of the delay between two loops of the animation ([issue #95](https://github.com/nbedos/termtosvg/issues/95))
99
* Fix text length computation involving wide Unicode characters ([issue #96](https://github.com/nbedos/termtosvg/issues/96))
1010
* Fix invalid type restriction for the timeout parameter of asciicast v2 headers ([issue #97](https://github.com/nbedos/termtosvg/issues/97))
1111

1212

13-
## Version 0.8.0 (2018-01-20)
13+
## Version 0.8.0 (2019-01-20)
1414

1515
* Implement still frame rendering ([issue #50](https://github.com/nbedos/termtosvg/issues/50))
1616
* Properly handle zero width characters ([issue #89](https://github.com/nbedos/termtosvg/issues/89))

docs/pages/templates.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h1><a href="../index.html">termtosvg</a></h1>
2222
<section id="content" class="body">
2323
<h1 class="entry-title">templates</h1>
2424

25-
<p>This is the gallery of default templates of termtosvg. All templates can
25+
<p>This is a gallery containing some of the default templates of termtosvg. All templates can
2626
be found <a href="https://github.com/nbedos/termtosvg/tree/develop/termtosvg/data/templates">on GitHub</a>.</p>
2727
<p>If you're interested in creating your own template, see the
2828
<a href="https://github.com/nbedos/termtosvg/blob/develop/man/termtosvg-templates.md">dedicated manual page</a>.</p>

man/termtosvg.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@
1010
**termtosvg render** *input_file* [output_path] [-D DELAY] [-m MIN_DURATION] [-M MAX_DURATION] [-s] [-t TEMPLATE] [-h]
1111

1212
### DESCRIPTION
13-
termtosvg makes recordings of terminal sessions in animated SVG format. If no output
14-
filename is provided, a random temporary filename will be automatically generated.
13+
termtosvg makes recordings of terminal sessions in animated SVG format.
1514

1615
#### COMMANDS
17-
The default behavior of termtosvg is to render an SVG animation of a shell session
16+
The default behavior of termtosvg is to render an SVG animation of a shell
17+
session. If no output filename is provided, a random temporary filename will
18+
be automatically generated.
1819

1920
##### termtosvg record
2021
Record a terminal session in asciicast v2 format. The recording is a text file which
@@ -30,7 +31,7 @@ is also possible.
3031
## OPTIONS
3132

3233
#### -c, --command=COMMAND
33-
specify the program to record with optional arguments. COMMAND must be a string listing the
34+
Specify the program to record with optional arguments. COMMAND must be a string listing the
3435
program to execute together will all arguments to be made available to the program. For example
3536
`--command='python -h'` would make termtosvg record the usage of the Python interpreter. If this
3637
option is not set, termtosvg will record the program specified by the $SHELL environment variable
@@ -40,7 +41,7 @@ or `/bin/sh`.
4041
Duration of the delay between two consecutive loops of the animation in milliseconds.
4142

4243
##### -g, --screen-geometry=GEOMETRY
43-
geometry of the terminal screen used for rendering the animation. The geometry must
44+
Geometry of the terminal screen used for rendering the animation. The geometry must
4445
be given as the number of columns and the number of rows on the screen separated by
4546
the character "x". For example "82x19" for an 82 columns by 19 rows screen.
4647

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name='termtosvg',
7-
version='0.9.0rc0',
7+
version='0.9.0',
88
license='BSD 3-clause license',
99
author='Nicolas Bedos',
1010
author_email='nicolas.bedos@gmail.com',

termtosvg/main.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,8 @@ def parse(args, templates, default_template, default_geometry, default_min_dur,
130130

131131
parser = argparse.ArgumentParser(
132132
prog='termtosvg',
133-
parents=[command_parser, geometry_parser, min_duration_parser,
134-
max_duration_parser, still_frames_parser, template_parser,
135-
loop_delay_parser],
133+
parents=[command_parser, loop_delay_parser, geometry_parser, min_duration_parser,
134+
max_duration_parser, still_frames_parser, template_parser],
136135
usage=USAGE,
137136
epilog=EPILOG
138137
)
@@ -164,9 +163,8 @@ def parse(args, templates, default_template, default_geometry, default_min_dur,
164163
if args[0] == 'render':
165164
parser = argparse.ArgumentParser(
166165
description='render an asciicast recording as an SVG animation',
167-
parents=[template_parser, min_duration_parser,
168-
max_duration_parser, still_frames_parser,
169-
loop_delay_parser],
166+
parents=[loop_delay_parser, min_duration_parser,
167+
max_duration_parser, still_frames_parser, template_parser],
170168
usage=RENDER_USAGE
171169
)
172170
parser.add_argument(

0 commit comments

Comments
 (0)