diff --git a/packages/next/cli/next-build.ts b/packages/next/cli/next-build.ts index 06a601b720394..2c00d691f4ce9 100755 --- a/packages/next/cli/next-build.ts +++ b/packages/next/cli/next-build.ts @@ -27,9 +27,8 @@ const nextBuild: cliCommand = argv => { Usage $ next build - represents where the compiled dist folder should go. - If no directory is provided, the dist folder will be created in the current directory. - You can set a custom folder in config https://nextjs.org/docs/api-reference/next.config.js/setting-a-custom-build-directory, otherwise it will be created inside '.next' + represents the directory of the Next.js application. + If no directory is provided, the current directory will be used. `, 0 ) diff --git a/packages/next/cli/next-dev.ts b/packages/next/cli/next-dev.ts index fbe1b778bb149..ad4056128d782 100755 --- a/packages/next/cli/next-dev.ts +++ b/packages/next/cli/next-dev.ts @@ -33,9 +33,8 @@ const nextDev: cliCommand = argv => { Usage $ next dev -p - represents where the compiled folder should go. - If no directory is provided, the folder will be created in the current directory. - You can set a custom folder in config https://nextjs.org/docs/api-reference/next.config.js/setting-a-custom-build-directory + represents the directory of the Next.js application. + If no directory is provided, the current directory will be used. Options --port, -p A port number on which to start the application diff --git a/packages/next/cli/next-export.ts b/packages/next/cli/next-export.ts index 500b69a255061..061be66ac7721 100755 --- a/packages/next/cli/next-export.ts +++ b/packages/next/cli/next-export.ts @@ -32,8 +32,8 @@ const nextExport: cliCommand = argv => { Usage $ next export [options] - represents where the compiled dist folder should go. - If no directory is provided, the 'out' folder will be created in the current directory. + represents the directory of the Next.js application. + If no directory is provided, the current directory will be used. Options -h - list this help diff --git a/packages/next/cli/next-start.ts b/packages/next/cli/next-start.ts index 0793122276e7d..e740d1d035331 100755 --- a/packages/next/cli/next-start.ts +++ b/packages/next/cli/next-start.ts @@ -31,10 +31,8 @@ const nextStart: cliCommand = argv => { Usage $ next start -p - is the directory that contains the compiled dist folder - created by running \`next build\`. - If no directory is provided, the current directory will be assumed. - You can set a custom dist folder in config https://nextjs.org/docs/api-reference/next.config.js/setting-a-custom-build-directory + represents the directory of the Next.js application. + If no directory is provided, the current directory will be used. Options --port, -p A port number on which to start the application