Skip to content

Commit 8520e7d

Browse files
committed
#230: Update manpage
1 parent 8440ef8 commit 8520e7d

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

docs/poetry-dynamic-versioning.1

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
.TH POETRY\-DYNAMIC\-VERSIONING "1" "2024\-07\-26" "poetry\-dynamic\-versioning 1.4.0" "poetry\-dynamic\-versioning"
1+
.TH POETRY\-DYNAMIC\-VERSIONING "1" "2025\-03\-28" "poetry\-dynamic\-versioning \- Dynamic versioning plugin for Poetry 1.8.2" "poetry\-dynamic\-versioning"
22
.SH NAME
33
poetry\-dynamic\-versioning
44
.SH SYNOPSIS
55
.B poetry\-dynamic\-versioning
6-
[-h] {enable} ...
6+
[-h] {enable,show} ...
77
.SH DESCRIPTION
88
Apply the dynamic version to all relevant files and leave the changes in\-place. This allows you to activate the plugin behavior on demand and inspect the result. Your configuration will be detected from pyproject.toml as normal.
99

@@ -13,13 +13,17 @@ SUBCOMMANDS
1313
Update pyproject.toml to enable the plugin using a typical configuration. The output may not be suitable for more complex use cases.
1414

1515
usage: poetry\-dynamic\-versioning enable [\-h]
16+
.SS \fBpoetry\-dynamic\-versioning show\fR
17+
Print the version without changing any files.
18+
19+
usage: poetry\-dynamic\-versioning show [\-h]
1620

1721
.SH AUTHOR
1822
.nf
19-
'Matthew T. Kennerly (mtkennerly)'
23+
Matthew T. Kennerly (mtkennerly)
2024
.fi
2125

2226
.SH DISTRIBUTION
23-
The latest version of poetry\-dynamic\-versioning may be downloaded from
27+
The latest version of poetry\-dynamic\-versioning \- Dynamic versioning plugin for Poetry may be downloaded from
2428
.UR https://github.com/mtkennerly/poetry\-dynamic\-versioning
2529
.UE

tasks.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import os
2-
import shlex
32
import shutil
43
from pathlib import Path
54

@@ -121,4 +120,8 @@ def docs(ctx):
121120
"--manual-title",
122121
"poetry-dynamic-versioning",
123122
]
124-
ctx.run(shlex.join(args))
123+
124+
# Join manually to avoid issues with single quotes on Windows using `shlex.join`
125+
joined = " ".join(arg if " " not in arg else f'"{arg}"' for arg in args)
126+
127+
ctx.run(joined)

0 commit comments

Comments
 (0)