Skip to content

Commit d28c8ea

Browse files
authored
Merge pull request #4 from jsickcodes/0.2-pre-release
0.2 pre release fixes
2 parents 44cdeac + a8e762a commit d28c8ea

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

CHANGELOG.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Change log
22
==========
33

4-
Unreleased
5-
----------
4+
0.2.0 (2021-03-23)
5+
------------------
66

77
New configuration options from the command line:
88

9-
- ``--prefix`` option allows you to customize the suffix of the plain text mirror.
10-
- ``--header`` option allows you to add header content to the plain text file.
9+
- ``--suffix`` option allows you to customize the suffix of the plain text mirror.
10+
- ``--header`` option allows you to add header content to the plain text mirror file.
1111

1212
0.1.0 (2021-03-18)
1313
------------------

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ However, you can customize the suffix of the file name by setting a ``--suffix``
119119
hooks:
120120
- id: docxplain
121121
args:
122-
- "--prefix"
122+
- "--suffix"
123123
- ".extracted.txt"
124124

125125
Plain text file header

src/docxplain/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def main() -> None:
1010
"""Command-line entrypoint."""
1111
parser = create_parser()
1212
args = parser.parse_args()
13-
changed = convert_file(args.source, suffix=args.suffix)
13+
changed = convert_file(args.source, suffix=args.suffix, header=args.header)
1414
if changed:
1515
sys.exit(1)
1616
else:

0 commit comments

Comments
 (0)