From 8a16cadaccdd73213cd70862c3b8a15b875be654 Mon Sep 17 00:00:00 2001 From: neverland Date: Fri, 22 Mar 2024 15:53:42 +0800 Subject: [PATCH] fix(cli): fix relevant typo (#844) --- .changeset/breezy-points-visit.md | 5 +++++ packages/cli/src/index.ts | 2 +- packages/document/docs/en/api/commands.mdx | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/breezy-points-visit.md diff --git a/.changeset/breezy-points-visit.md b/.changeset/breezy-points-visit.md new file mode 100644 index 000000000..9e05c9469 --- /dev/null +++ b/.changeset/breezy-points-visit.md @@ -0,0 +1,5 @@ +--- +"rspress": patch +--- + +fix(cli): fix relevant typo diff --git a/packages/cli/src/index.ts b/packages/cli/src/index.ts index 0497d1cb4..f4335789d 100644 --- a/packages/cli/src/index.ts +++ b/packages/cli/src/index.ts @@ -141,6 +141,6 @@ cli }, ); -cli.command('update', 'update elavant packages about rspress').action(update); +cli.command('update', 'update relevant packages about rspress').action(update); cli.parse(); diff --git a/packages/document/docs/en/api/commands.mdx b/packages/document/docs/en/api/commands.mdx index 18d2c93b5..6cb67a9be 100644 --- a/packages/document/docs/en/api/commands.mdx +++ b/packages/document/docs/en/api/commands.mdx @@ -46,7 +46,7 @@ Options: ## rspress update -`rspress update` command is used to update the relavant package about rspress to latest version. +`rspress update` command is used to update the relevant package about rspress to latest version. ```bash Usage: rspress update