diff --git a/twine/settings.py b/twine/settings.py index 9f3aefb1..5aa4d964 100644 --- a/twine/settings.py +++ b/twine/settings.py @@ -165,8 +165,8 @@ def register_argparse_arguments(parser: argparse.ArgumentParser) -> None: env="TWINE_REPOSITORY", default="pypi", help="The repository (package index) to upload the package to. " - "Should be a section in the config file (default: " - "%(default)s). (Can also be set via %(env)s environment " + "Should be a section in the config file [default: " + "%(default)s]. (Can also be set via %(env)s environment " "variable.)", ) parser.add_argument( @@ -195,7 +195,7 @@ def register_argparse_arguments(parser: argparse.ArgumentParser) -> None: parser.add_argument( "--sign-with", default="gpg", - help="GPG program used to sign uploads (default: %(default)s).", + help="GPG program used to sign uploads [default: %(default)s].", ) parser.add_argument( "-i",