feat: change option name

v1.18.x
Barış Soner Uşaklı 5 years ago
parent 80f1bcad20
commit cba5b23e23

@ -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 {

@ -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);

Loading…
Cancel
Save