From 527453560e1dde8c670266c3b42bcf3a58dee155 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Wed, 18 Mar 2020 10:18:29 +0100 Subject: [PATCH] Update reference in help text Fixes #11151 --- packages/next/cli/next-build.ts | 5 ++--- packages/next/cli/next-dev.ts | 5 ++--- packages/next/cli/next-export.ts | 4 ++-- packages/next/cli/next-start.ts | 6 ++---- 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/packages/next/cli/next-build.ts b/packages/next/cli/next-build.ts index 06a601b72039412..2c00d691f4ce974 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 fbe1b778bb1494e..ad4056128d7827c 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 500b69a255061f8..061be66ac77218f 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 0793122276e7d44..e740d1d03533198 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