Skip to content

Commit a30d928

Browse files
docs: improve help text for source-tokens-only
1 parent 05656da commit a30d928

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/paragon-scripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const COMMANDS = {
8383
},
8484
{
8585
name: '--source-tokens-only',
86-
description: 'Include only source design tokens in the build.',
86+
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.',
8787
defaultValue: false,
8888
},
8989
{

lib/__tests__/help.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ describe('helpCommand', () => {
228228
expect.stringContaining(`${chalk.yellow.bold('--source-tokens-only')} ${chalk.grey('Default: false')}`),
229229
);
230230
expect(console.log).toHaveBeenCalledWith(
231-
expect.stringContaining('Include only source design tokens in the build.'),
231+
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.'),
232232
);
233233

234234
expect(console.log).toHaveBeenCalledWith(

0 commit comments

Comments
 (0)