Skip to content

Commit

Permalink
Fixes Spelling of Overwrite
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
JaskaranNarula authored and ggainey committed Nov 1, 2021
1 parent 66483bb commit ef66e88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pulpcore/cli/common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def config() -> None:
@config_options
@click.option("--interactive", "-i", is_flag=True)
@click.option("--editor", "-e", is_flag=True, help=_("Edit the config file in an editor"))
@click.option("--overwrite", "-o", is_flag=True, help=_("Overwite any existing config file"))
@click.option("--overwrite", "-o", is_flag=True, help=_("Overwrite any existing config file"))
@click.option("--location", default=CONFIG_LOCATIONS[-1], type=click.Path(resolve_path=True))
@click.pass_context
def create(
Expand All @@ -145,7 +145,7 @@ def _check_location(location: str) -> None:
if not overwrite and Path(location).exists():
raise click.ClickException(
_(
"File '{location}' already exists. Use --overwite if you want to overwrite it."
"File '{location}' already exists. Use --overwrite if you want to overwrite it."
).format(location=location)
)

Expand Down

0 comments on commit ef66e88

Please sign in to comment.