From e99c03e8c9ea6069318682df3c6185ec78d7d1c4 Mon Sep 17 00:00:00 2001 From: Muhammad Sohail Date: Thu, 19 Nov 2026 10:51:28 +0500 Subject: [PATCH] docs(portal): say --no-analytics sends no events to the scripts that stay "Hand no event" took a second read. The flag's help and the README now say "send no events", as the CLI Reference and the Add Custom Scripts page of the docs do (apimatic/apimatic-docs#887). Co-Authored-By: Claude Opus 5.5 --- README.md | 4 ++-- src/types/flags-provider.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 79985654..c383a470 100644 --- a/README.md +++ b/README.md @@ -307,7 +307,7 @@ FLAGS API specifications and configuration files. -k, --auth-key= override current authentication state with an authentication key. --no-analytics leave out the tags set in 'portal.analytics' and each script in 'portal.scripts' whose - category is 'analytics' or 'marketing', and hand no event to the scripts that stay. + category is 'analytics' or 'marketing', and send no events to the scripts that stay. --zip write the generated portal as a .zip archive. DESCRIPTION @@ -349,7 +349,7 @@ FLAGS -o, --open open the portal in the default browser. -p, --port=23513 [default: 23513] port to serve the portal on. --no-analytics leave out the tags set in 'portal.analytics' and each script in 'portal.scripts' whose - category is 'analytics' or 'marketing', and hand no event to the scripts that stay. + category is 'analytics' or 'marketing', and send no events to the scripts that stay. DESCRIPTION Preview your API Documentation Portal with live reload. diff --git a/src/types/flags-provider.ts b/src/types/flags-provider.ts index 1b8472e7..5e428603 100644 --- a/src/types/flags-provider.ts +++ b/src/types/flags-provider.ts @@ -37,7 +37,7 @@ export class FlagsProvider { 'no-analytics': Flags.boolean({ default: false, description: - "leave out the tags set in 'portal.analytics' and each script in 'portal.scripts' whose category is 'analytics' or 'marketing', and hand no event to the scripts that stay." + "leave out the tags set in 'portal.analytics' and each script in 'portal.scripts' whose category is 'analytics' or 'marketing', and send no events to the scripts that stay." }) };