From b450d34dca055f3192e59eb1f595da20fc99fd5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danie=CC=88l=20de=20Kok?= Date: Mon, 30 Jan 2023 16:08:54 +0100 Subject: [PATCH] Rename distillation flag to -dt --- spacy/cli/init_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/cli/init_config.py b/spacy/cli/init_config.py index 756d1eb73..fbfb56aa2 100644 --- a/spacy/cli/init_config.py +++ b/spacy/cli/init_config.py @@ -83,7 +83,7 @@ def init_fill_config_cli( # fmt: off base_path: Path = Arg(..., help="Path to base config to fill", exists=True, dir_okay=False), output_file: Path = Arg("-", help="Path to output .cfg file (or - for stdout)", allow_dash=True), - distillation: bool = Opt(False, "--distillation", "-d", help="Include config for distillation (with 'spacy distill')"), + distillation: bool = Opt(False, "--distillation", "-dt", help="Include config for distillation (with 'spacy distill')"), pretraining: bool = Opt(False, "--pretraining", "-pt", help="Include config for pretraining (with 'spacy pretrain')"), diff: bool = Opt(False, "--diff", "-D", help="Print a visual diff highlighting the changes"), code_path: Optional[Path] = Opt(None, "--code-path", "--code", "-c", help="Path to Python file with additional code (registered functions) to be imported"),