Skip to content

Node.js based forum software built for the modern web

feat: change option name

Barış Soner Uşaklıcba5b23e2343
diff --git a/src/cli/index.js b/src/cli/index.js
index 7362fe3847..6054fc51d0 100644
--- a/src/cli/index.js
+++ b/src/cli/index.js
@@ -167,7 +167,7 @@ program
program
.command('setup [config]')
.description('Run the NodeBB setup script, or setup with an initial config')
- .option('--no-build', 'Run setup without building assets')
+ .option('--skip-build', 'Run setup without building assets')
.action(function (initConfig) {
if (initConfig) {
try {
diff --git a/src/cli/setup.js b/src/cli/setup.js
index e55a6bb740..897356b945 100644
--- a/src/cli/setup.js
+++ b/src/cli/setup.js
@@ -32,7 +32,7 @@ function setup(initConfig) {
prestart.loadConfig(configFile);
- if (!nconf.get('no-build')) {
+ if (!nconf.get('skip-build')) {
build.buildAll(next);
} else {
setImmediate(next);