@@ -50,7 +50,7 @@ class BuildCompose extends Command
50
50
private const OPTION_NODE = 'node ' ;
51
51
private const OPTION_MODE = 'mode ' ;
52
52
private const OPTION_SYNC_ENGINE = 'sync-engine ' ;
53
- private const OPTION_NO_CRON = 'no -cron ' ;
53
+ private const OPTION_WITH_CRON = 'with -cron ' ;
54
54
private const OPTION_NO_VARNISH = 'no-varnish ' ;
55
55
private const OPTION_WITH_SELENIUM = 'with-selenium ' ;
56
56
@@ -69,7 +69,7 @@ class BuildCompose extends Command
69
69
self ::OPTION_RABBIT_MQ => ServiceInterface::NAME_RABBITMQ ,
70
70
self ::OPTION_EXPOSE_DB_PORT => ProductionBuilder::KEY_EXPOSE_DB_PORT ,
71
71
self ::OPTION_SELENIUM_VERSION => ServiceFactory::SERVICE_SELENIUM_VERSION ,
72
- self ::OPTION_SELENIUM_IMAGE => ServiceFactory::SERVICE_SELENIUM_IMAGE
72
+ self ::OPTION_SELENIUM_IMAGE => ServiceFactory::SERVICE_SELENIUM_IMAGE ,
73
73
];
74
74
75
75
/**
@@ -221,10 +221,10 @@ protected function configure(): void
221
221
)
222
222
)
223
223
->addOption (
224
- self ::OPTION_NO_CRON ,
224
+ self ::OPTION_WITH_CRON ,
225
225
null ,
226
226
InputOption::VALUE_NONE ,
227
- 'Remove cron container '
227
+ 'Add cron container '
228
228
)
229
229
->addOption (
230
230
self ::OPTION_NO_VARNISH ,
@@ -278,7 +278,7 @@ public function execute(InputInterface $input, OutputInterface $output)
278
278
279
279
$ config ->set ([
280
280
DeveloperBuilder::KEY_SYNC_ENGINE => $ syncEngine ,
281
- ProductionBuilder::KEY_NO_CRON => $ input ->getOption (self ::OPTION_NO_CRON ),
281
+ ProductionBuilder::KEY_WITH_CRON => $ input ->getOption (self ::OPTION_WITH_CRON ),
282
282
ProductionBuilder::KEY_NO_VARNISH => $ input ->getOption (self ::OPTION_NO_VARNISH ),
283
283
ProductionBuilder::KEY_WITH_SELENIUM => $ input ->getOption (self ::OPTION_WITH_SELENIUM )
284
284
]);
0 commit comments