Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
ZF-9756: "Undefined variable: lines" Zend_Console_Getopt getUsageMess…
Browse files Browse the repository at this point in the history
…age() line 623

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22191 44c647ce-9c0f-0410-b52a-842ac1e357ba
  • Loading branch information
jan committed May 17, 2010
1 parent 82548e8 commit 019f89a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Getopt.php
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,7 @@ public function getUsageMessage()
{
$usage = "Usage: {$this->_progname} [ options ]\n";
$maxLen = 20;
$lines = array();
foreach ($this->_rules as $rule) {
$flags = array();
if (is_array($rule['alias'])) {
Expand Down

0 comments on commit 019f89a

Please sign in to comment.