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
+10 -12
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. When set to 'auto', builds the architectures natively supported
If unspecified, 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.')