Copy edit of --archs help text to make 'auto' clearer

This commit is contained in:
Joe Rickerby
2020-12-31 15:45:02 +00:00
parent d65da2ee46
commit 5b5078e5e9
+5 -7
View File
@@ -69,18 +69,16 @@ def main() -> None:
Python. Default: auto. Python. Default: auto.
''') ''')
parser.add_argument( parser.add_argument('--archs',
'--archs',
default=None, default=None,
help=''' help='''
Comma-separated list of CPU architectures to build for. Comma-separated list of CPU architectures to build for.
If unspecified, builds the architectures natively supported When set to 'auto', builds the architectures natively supported
on this machine. Set this option to build an architecture on this machine. Set this option to build an architecture
via emulation, for example, using binfmt_misc and qemu. via emulation, for example, using binfmt_misc and QEMU.
Default: auto Default: auto.
Choices: auto, {} Choices: auto, {}
'''.format(", ".join(a.name for a in Architecture)), '''.format(", ".join(a.name for a in Architecture)))
)
parser.add_argument('--output-dir', parser.add_argument('--output-dir',
default=os.environ.get('CIBW_OUTPUT_DIR', 'wheelhouse'), default=os.environ.get('CIBW_OUTPUT_DIR', 'wheelhouse'),
help='Destination folder for the wheels.') help='Destination folder for the wheels.')