alexander-schranz / sulu-backend-bundle

A Sulu Bundle to make it easier to create new Backend Bundles.
6 stars 2 forks source link

Error in GenerateAdminCommand #42

Closed sabinebaer closed 8 years ago

sabinebaer commented 8 years ago

The following lines in L91\Sulu\Bundle\BackendBundle\Command\GenerateAdminCommand.php lead to errors ("Argument mode "sf" is not valid.") as addArgument() expects the second parameter to be the mode, not a shortcut.

->addArgument('service-format', 'sf', InputArgument::REQUIRED, 'Set the format of service registrations.')
->addArgument('route-format', 'rf', InputArgument::REQUIRED, 'Set the format of route registrations.')