summaryrefslogtreecommitdiff
path: root/pear/Console/Getopt.php
diff options
context:
space:
mode:
Diffstat (limited to 'pear/Console/Getopt.php')
-rw-r--r--pear/Console/Getopt.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/pear/Console/Getopt.php b/pear/Console/Getopt.php
index 834ab8c504..c82aabba34 100644
--- a/pear/Console/Getopt.php
+++ b/pear/Console/Getopt.php
@@ -77,9 +77,6 @@ class Console_Getopt {
if ($long_options)
sort($long_options);
- if ($args[0]{0} != '-') {
- array_shift($args);
- }
reset($args);
while (list($i, $arg) = each($args)) {