Skip to content

Commit

Permalink
Foo
Browse files Browse the repository at this point in the history
  • Loading branch information
dantleech committed Dec 22, 2014
1 parent 88cfa2a commit f5a3a21
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/PHPCR/Shell/Console/Command/ShellCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')
));
}

Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit f5a3a21

Please sign in to comment.