Skip to content

Commit ea891e2

Browse files
authored
🐛 FIX: Version info in CLI help text (#125)
1 parent ea8d4bd commit ea891e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

markdown_it/cli/parse.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ def parse_args(args: Optional[Sequence[str]]) -> argparse.Namespace:
6969
"convert each to HTML, and print to stdout",
7070
# NOTE: Remember to update README.md w/ the output of `markdown-it -h`
7171
epilog=(
72-
"""
72+
f"""
7373
Interactive:
7474
7575
$ markdown-it
76-
markdown-it-py [version 0.0.0] (interactive)
76+
markdown-it-py [version {__version__}] (interactive)
7777
Type Ctrl-D to complete input, or Ctrl-C to exit.
7878
>>> # Example
7979
... > markdown *input*

0 commit comments

Comments
 (0)