From 13e1d8ca90a577b7c7feb5921d32be53c2feb79f Mon Sep 17 00:00:00 2001 From: shadeMe Date: Tue, 8 Aug 2023 13:56:40 +0200 Subject: [PATCH] Update CLI command invocation syntax --- website/docs/api/cli.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/api/cli.mdx b/website/docs/api/cli.mdx index f99cbbfcb..dc6985a03 100644 --- a/website/docs/api/cli.mdx +++ b/website/docs/api/cli.mdx @@ -194,7 +194,7 @@ is read from the `initialize.components.transformer.encoder_loader` config section. ```bash -$ python -m spacy init fill-config-transformer [base_path] [output_file] +$ python -m spacy init fill-config-transformer [base_path] [output_file] [--code] [--name] ``` | Name | Description | @@ -1043,7 +1043,7 @@ $ python -m spacy debug model ./config.cfg tagger -l "5,15" -DIM -PAR -P0 -P1 -P Analyze word- or sentencepiece stats. ```bash -$ python -m spacy debug pieces [config_path] [code_path] [transformer_name] +$ python -m spacy debug pieces [config_path] [--code] [--name] [overrides] ``` | Name | Description |