wp-cli/wp-cli — pull request #238 by ericmann (2012-12-12 00:03:00+00:00)
Title: Fix Undefined Offset Notice

If no arguments are passed aside from a -- flag (i.e. `wp --version`),
the new plugin/theme logic triggers an undefined offset notice. This
patch checks first that the arguments array has elements before trying
to read them.