Skip to content

Commit

Permalink
chore(core): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed Oct 11, 2022
1 parent d6f1353 commit 86d00b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/nx-misc/src/workspace.test.ts
Expand Up @@ -213,7 +213,7 @@ describe('Workspace Tests', () => {

const helpOutput = runCLI(`workspace-generator ${custom} --help`);
expect(helpOutput).toContain(
`nx workspace-generator ${custom} [inlineprop] [options]`
`workspace-generator ${custom} [inlineprop] (options)`
);
expect(helpOutput).toContain(`--directory`);
expect(helpOutput).toContain(`--skipTsConfig`);
Expand Down
2 changes: 1 addition & 1 deletion packages/nx/src/command-line/nx-commands.ts
Expand Up @@ -839,7 +839,7 @@ async function withCustomGeneratorOptions(
command += ` [${name}]`;
});
if (options.length) {
command += ' [options]';
command += ' (options)';
}

yargs.command({
Expand Down

0 comments on commit 86d00b9

Please sign in to comment.