Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use brackets for the default value of option arguments #626

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/wheel/bdist_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,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",
Expand All @@ -192,7 +192,7 @@ class bdist_wheel(Command):
(
"relative",
None,
"build the archive using relative paths (default: false)",
"build the archive using relative paths [default: false]",
),
(
"owner=",
Expand All @@ -204,18 +204,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=",
Expand All @@ -227,7 +227,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]",
),
]

Expand Down
Loading