/**
  * @see Symfony\Component\Console\Command\Command::execute()
  */
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     if ($input->getOption('reset')) {
         $noReset = false;
     } else {
         $noReset = true;
     }
     $input->setOption('no-reset', $noReset);
     try {
         parent::execute($input, $output);
         $output->writeln($this->getNoLeftoversMessage());
     } catch (ExceededMemoryException $exception) {
         $output->writeln($exception->getMessage());
     }
 }