From c03f0605274872660d2c73acba2f7327c3a875f2 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 29 Sep 2024 14:30:14 +0200 Subject: [PATCH] Allow positive option --require-parent --- spacy/cli/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/cli/package.py b/spacy/cli/package.py index 837eb4118..6f3babf45 100644 --- a/spacy/cli/package.py +++ b/spacy/cli/package.py @@ -30,7 +30,7 @@ def package_cli( version: Optional[str] = Opt(None, "--version", "-v", help="Package version to override meta"), build: str = Opt("sdist", "--build", "-b", help="Comma-separated formats to build: sdist and/or wheel, or none."), force: bool = Opt(False, "--force", "-f", "-F", help="Force overwriting existing data in output directory"), - no_require_parent: bool = Opt(False, "--no-require-parent", "-R", "-R", help="Don't include the parent package (e.g. spacy) in the requirements"), + no_require_parent: bool = Opt(False, "--require-parent/--no-require-parent", "-R", "-R", help="Don't include the parent package (e.g. spacy) in the requirements"), # fmt: on ): """