Skip to content

Commit f5a3a21

Browse files
committed
Foo
1 parent 88cfa2a commit f5a3a21

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/PHPCR/Shell/Console/Command/ShellCommand.php

+3-5
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,9 @@ public function configure()
6767
new InputOption('--unsupported', null, InputOption::VALUE_NONE, 'Show all commands, including commands not supported by the repository'),
6868
new InputOption('--command', null, InputOption::VALUE_REQUIRED|InputOption::VALUE_IS_ARRAY, 'Run the given command'),
6969

70-
new InputOption('--reference', null, InputOption::VALUE_NONE, 'Dump a complete command reference in RST format')
70+
new InputOption('--reference', null, InputOption::VALUE_NONE, 'Dump a complete command reference in RST format'),
7171

72-
new InputArgument('workspace', InputArgument::OPTIONAL, 'Workspace to start with', 'default'),
73-
));
72+
new InputArgument('workspace', InputArgument::OPTIONAL, 'Workspace to start with', 'default')
7473
));
7574
}
7675

@@ -111,8 +110,7 @@ public function execute(InputInterface $input, OutputInterface $output)
111110
if ($dumpReference) {
112111
$this->application->init();
113112
$descriptor = new RstDescriptor();
114-
$out = $descriptor->describe($this->application);
115-
die($out);
113+
$descriptor->describe($output, $this->application);
116114
return 0;
117115
}
118116

0 commit comments

Comments
 (0)