Skip to content

Commit 7bcc410

Browse files
committed
docs: add the name of the argument
it is platform in the cli and platforms in the pyproject so this was a bit confusing
1 parent 1506a77 commit 7bcc410

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/ci/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ pub struct GenerateCI {
179179
/// Output path
180180
#[arg(short = 'o', long, value_name = "PATH", default_value = "-")]
181181
pub output: PathBuf,
182-
/// Platform support [deprecated: use [tool.maturin.generate-ci.github] in pyproject.toml]
182+
/// Platform support [deprecated: use [tool.maturin.generate-ci.github] and set 'platforms' in pyproject.toml]
183183
#[arg(
184184
id = "platform",
185185
long,

tests/cmd/generate-ci.stdout

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ Options:
2828
[default: -]
2929

3030
--platform <platform>...
31-
Platform support [deprecated: use [tool.maturin.generate-ci.github] in pyproject.toml]
31+
Platform support [deprecated: use [tool.maturin.generate-ci.github] and set 'platforms' in
32+
pyproject.toml]
3233

3334
Possible values:
3435
- all: All

0 commit comments

Comments
 (0)