diff --git a/packages/nx/src/command-line/nx-commands.ts b/packages/nx/src/command-line/nx-commands.ts index 9c82f7100057d..9e928fc1ce7a9 100644 --- a/packages/nx/src/command-line/nx-commands.ts +++ b/packages/nx/src/command-line/nx-commands.ts @@ -409,6 +409,7 @@ export const commandsObject = yargs process.exit(0); }, }) + .scriptName('nx') .help() .version(nxVersion);