diff --git a/cibuildwheel/__main__.py b/cibuildwheel/__main__.py index c5d5d772..be385168 100644 --- a/cibuildwheel/__main__.py +++ b/cibuildwheel/__main__.py @@ -153,7 +153,7 @@ def main_inner(global_options: GlobalOptions) -> None: metavar="IDENTIFIER", help=""" Force a single wheel build when given an identifier. Overrides - CIBW_BUILD/CIBW_SKIP. --platform and --arch cannot be specified + CIBW_BUILD/CIBW_SKIP. --platform and --archs cannot be specified if this is given. """, ) @@ -323,7 +323,7 @@ def _compute_platform(args: CommandLineArguments) -> PlatformName: msg = "--platform cannot be specified with --only, it is computed from --only" raise errors.ConfigurationError(msg) if args.only and args.archs is not None: - msg = "--arch cannot be specified with --only, it is computed from --only" + msg = "--archs cannot be specified with --only, it is computed from --only" raise errors.ConfigurationError(msg) if platform_option_value not in PLATFORMS | {"auto"}: diff --git a/docs/options.md b/docs/options.md index c50400bd..c2423941 100644 --- a/docs/options.md +++ b/docs/options.md @@ -43,7 +43,7 @@ This option can also be set using the [command-line option](#command-line) `--pl This is even more convenient if you store your cibuildwheel config in [`pyproject.toml`](configuration.md#configuration-file). You can also run a single identifier with `--only `. This will - not require `--platform` or `--arch`, and will override any build/skip + not require `--platform` or `--archs`, and will override any build/skip configuration. ### `build`, `skip` {: #build-skip toml env-var }