diff --git a/setuptools/command/bdist_wheel.py b/setuptools/command/bdist_wheel.py index a81187598a..d8cdd4e406 100644 --- a/setuptools/command/bdist_wheel.py +++ b/setuptools/command/bdist_wheel.py @@ -176,7 +176,7 @@ class bdist_wheel(Command): "plat-name=", "p", "platform name to embed in generated filenames " - f"(default: {get_platform(None)})", + f"[default: {get_platform(None)}]", ), ( "keep-temp", @@ -189,7 +189,7 @@ class bdist_wheel(Command): ( "relative", None, - "build the archive using relative paths (default: false)", + "build the archive using relative paths [default: false]", ), ( "owner=", @@ -201,18 +201,18 @@ class bdist_wheel(Command): "g", "Group name used when creating a tar file [default: current group]", ), - ("universal", None, "make a universal wheel (default: false)"), + ("universal", None, "make a universal wheel [default: false]"), ( "compression=", None, - "zipfile compression (one of: {}) (default: 'deflated')".format( + "zipfile compression (one of: {}) [default: 'deflated']".format( ", ".join(supported_compressions) ), ), ( "python-tag=", None, - f"Python implementation compatibility tag (default: '{python_tag()}')", + f"Python implementation compatibility tag [default: '{python_tag()}']", ), ( "build-number=", @@ -224,7 +224,7 @@ class bdist_wheel(Command): ( "py-limited-api=", None, - "Python tag (cp32|cp33|cpNN) for abi3 wheel tag (default: false)", + "Python tag (cp32|cp33|cpNN) for abi3 wheel tag [default: false]", ), ] diff --git a/setuptools/command/dist_info.py b/setuptools/command/dist_info.py index 52c0721903..2adc1c46f3 100644 --- a/setuptools/command/dist_info.py +++ b/setuptools/command/dist_info.py @@ -28,7 +28,7 @@ class dist_info(Command): 'output-dir=', 'o', "directory inside of which the .dist-info will be" - "created (default: top of the source tree)", + "created [default: top of the source tree]", ), ('tag-date', 'd', "Add date stamp (e.g. 20050528) to version number"), ('tag-build=', 'b', "Specify explicit tag to add to version number"), diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index ccc2db8972..8f2d642794 100644 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -172,7 +172,7 @@ class egg_info(InfoCommon, Command): 'egg-base=', 'e', "directory containing .egg-info directories" - " (default: top of the source tree)", + " [default: top of the source tree]", ), ('tag-date', 'd', "Add date stamp (e.g. 20050528) to version number"), ('tag-build=', 'b', "Specify explicit tag to add to version number"),