diff --git a/bin/paragon-scripts.js b/bin/paragon-scripts.js index ff863f4429..696402b47e 100755 --- a/bin/paragon-scripts.js +++ b/bin/paragon-scripts.js @@ -83,7 +83,7 @@ const COMMANDS = { }, { name: '--source-tokens-only', - description: 'Include only source design tokens in the build.', + description: 'If provided, only tokens from --source will be included in the output; Paragon tokens will be used for references but not included in the output.', defaultValue: false, }, { diff --git a/lib/__tests__/help.test.js b/lib/__tests__/help.test.js index 753f865f90..b7e8e1a50a 100644 --- a/lib/__tests__/help.test.js +++ b/lib/__tests__/help.test.js @@ -228,7 +228,7 @@ describe('helpCommand', () => { expect.stringContaining(`${chalk.yellow.bold('--source-tokens-only')} ${chalk.grey('Default: false')}`), ); expect(console.log).toHaveBeenCalledWith( - expect.stringContaining('Include only source design tokens in the build.'), + expect.stringContaining('If provided, only tokens from --source will be included in the output; Paragon tokens will be used for references but not included in the output.'), ); expect(console.log).toHaveBeenCalledWith(