From f5a3a218ca915f719beb5762bdf7c677c07267c2 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 22 Dec 2014 11:59:21 +0000 Subject: [PATCH] Foo --- src/PHPCR/Shell/Console/Command/ShellCommand.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/PHPCR/Shell/Console/Command/ShellCommand.php b/src/PHPCR/Shell/Console/Command/ShellCommand.php index 75e6ddc6..8968d0e4 100644 --- a/src/PHPCR/Shell/Console/Command/ShellCommand.php +++ b/src/PHPCR/Shell/Console/Command/ShellCommand.php @@ -67,10 +67,9 @@ public function configure() new InputOption('--unsupported', null, InputOption::VALUE_NONE, 'Show all commands, including commands not supported by the repository'), new InputOption('--command', null, InputOption::VALUE_REQUIRED|InputOption::VALUE_IS_ARRAY, 'Run the given command'), - new InputOption('--reference', null, InputOption::VALUE_NONE, 'Dump a complete command reference in RST format') + new InputOption('--reference', null, InputOption::VALUE_NONE, 'Dump a complete command reference in RST format'), - new InputArgument('workspace', InputArgument::OPTIONAL, 'Workspace to start with', 'default'), - )); + new InputArgument('workspace', InputArgument::OPTIONAL, 'Workspace to start with', 'default') )); } @@ -111,8 +110,7 @@ public function execute(InputInterface $input, OutputInterface $output) if ($dumpReference) { $this->application->init(); $descriptor = new RstDescriptor(); - $out = $descriptor->describe($this->application); - die($out); + $descriptor->describe($output, $this->application); return 0; }