joomla/joomla-platform — pull request #690 by fititnt (2012-01-01 06:44:53+00:00)
Title: Solving bug on JInputCLI. Instead of $data must be $args

Before:

C:\Users\fititnt\github\fititnt\jclihelper\examples>php test1.php param1 param2 -qwert --thisis=sparta
Array
(
[0] => param1
[1] => param2
)

After:

C:\Users\fititnt\github\fititnt\jclihelper\examples>php test1.php param1 param2 -qwert --thisis=sparta
Array
(
[0] => param1
[1] => param2
[q] => 1
[w] => 1
[e] => 1
[r] => 1
[t] => 1
[thisis] => sparta
)

C:\Users\fititnt\github\fititnt\jclihelper\examples>