diff --git a/lib/Alchemy/Phrasea/Command/Collection/UnPublishCollectionCommand.php b/lib/Alchemy/Phrasea/Command/Collection/UnPublishCollectionCommand.php index 70d857e5d1..ef0fc9dae5 100644 --- a/lib/Alchemy/Phrasea/Command/Collection/UnPublishCollectionCommand.php +++ b/lib/Alchemy/Phrasea/Command/Collection/UnPublishCollectionCommand.php @@ -40,11 +40,11 @@ class UnPublishCollectionCommand extends Command $dialog = $this->getHelperSet()->get('dialog'); do { - $continue = mb_strtolower($dialog->ask($output, ' Do you want really unpublish this collection? (y/N)', 'N')); + $continue = mb_strtolower($dialog->ask($output, sprintf(" Do you want really unpublish the collection %s? (y/N)", $collection->get_name()), 'N')); } while ( ! in_array($continue, ['y', 'n'])); if ($continue !== 'y') { - $output->writeln('Aborting !'); + $output->writeln('Aborting !'); return; }