Make maintenance command available under partdb:maintenance-mode to make it more consistent with other hyphen command tools

This commit is contained in:
Jan Böhmer 2026-02-02 23:09:52 +01:00
parent 9ca1834d9b
commit a755287c3b

View file

@ -32,7 +32,7 @@ use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle; use Symfony\Component\Console\Style\SymfonyStyle;
#[AsCommand('partdb:maintenance_mode', 'Enable/disable maintenance mode and set a message')] #[AsCommand('partdb:maintenance-mode', 'Enable/disable maintenance mode and set a message')]
class MaintenanceModeCommand extends Command class MaintenanceModeCommand extends Command
{ {
public function __construct( public function __construct(