diff --git a/cli/README.md b/cli/README.md index 885561f1..200e33f2 100644 --- a/cli/README.md +++ b/cli/README.md @@ -14,7 +14,7 @@ The two following commands are available: - `redoc-cli serve [spec]` - starts the server with `spec` rendered with ReDoc. Supports a server-side rendering mode (`--ssr`) and can watch the spec (`--watch`) to automatically reload the page whenever it changes.\ - Deprecated. Use `npx @redocly/openapi-cli preview-docs [spec]` + Deprecated. Use `npx @redocly/cli preview-docs [spec]` - `redoc-cli bundle [spec]` - bundles `spec` and Redoc into a **zero-dependency** HTML file.\ Deprecated. Use Use "build" command instead. - `redoc-cli build [spec]` - build `spec` and Redoc into a **zero-dependency** HTML file. diff --git a/cli/index.ts b/cli/index.ts index 3d664eda..801993ee 100644 --- a/cli/index.ts +++ b/cli/index.ts @@ -182,7 +182,7 @@ YargsParser.command( [ res => { console.log( - `\n⚠️ This command is deprecated. Use "npx @redocly/openapi-cli preview-docs petstore.yaml"\n`, + `\n⚠️ This command is deprecated. Use "npx @redocly/cli preview-docs petstore.yaml"\n`, ); return res; },