Ticket Details
li3 help command should accept lowercase commands
ENHANCEMENT Ticket (closed)
Noticed some changes in the console, decided to finally try it out.
###What happened:
Running ```li3 help create``` produces ```Command `create` not found``` although both the api docs for the help command and the output of ```li3 help``` show commands in lowercase format (and the command itself is actually runnable lowercased). Running ```li3 help Create``` produces the expected output.
###What was expected:
Running ```li3 help command``` should output help for the command, if it exists.
###Failing test:
{{{
public function testRunWithLcName() {
$command = new Help(array(
'request' => $this->request, 'classes' => $this->classes
));
$result = $command->run('test');
$this->assertTrue($result);
$expected = "li3 test [--case=<string>] [--group=<string>] [--filters=<string>]";
$result = $command->response->output;
$this->assertTrue(strpos($result, $expected) !== false);
}
}}}
Updates
on 05.13.11
by daschl
- owner was changed to daschl
- type was changed to enhancement
- status was changed to in progress
- priority was changed to normal
(fixed)
on 05.31.11
by daschl
- status was changed to closed
- resolution was changed to fixed