PMC-900
This commit is contained in:
4
thirdparty/pear/Console/Getopt.php
vendored
4
thirdparty/pear/Console/Getopt.php
vendored
@@ -63,7 +63,7 @@ class Console_Getopt {
|
|||||||
* @access public
|
* @access public
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
function getopt2($args, $short_options, $long_options = null)
|
public static function getopt2($args, $short_options, $long_options = null)
|
||||||
{
|
{
|
||||||
return Console_Getopt::doGetopt(2, $args, $short_options, $long_options);
|
return Console_Getopt::doGetopt(2, $args, $short_options, $long_options);
|
||||||
}
|
}
|
||||||
@@ -81,7 +81,7 @@ class Console_Getopt {
|
|||||||
/**
|
/**
|
||||||
* The actual implementation of the argument parsing code.
|
* The actual implementation of the argument parsing code.
|
||||||
*/
|
*/
|
||||||
function doGetopt($version, $args, $short_options, $long_options = null)
|
public static function doGetopt($version, $args, $short_options, $long_options = null)
|
||||||
{
|
{
|
||||||
// in case you pass directly readPHPArgv() as the first arg
|
// in case you pass directly readPHPArgv() as the first arg
|
||||||
if (PEAR::isError($args)) {
|
if (PEAR::isError($args)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user