Ignore:
Timestamp:
01/11/13 08:48:41 (11 years ago)
Author:
marcieli
Message:

Ticket #3236 - Correcoes de seguranca com base no segundo relatorio emitido.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/library/PEAR/scripts/pearcmd.php

    r5146 r7730  
    337337        } 
    338338        $put .= 
    339             "Usage: $progname [options] command [command-options] <parameters>\n". 
     339            "Usage: $progname ['options'] command ['command-options'] <parameters>\n". 
    340340            "Type \"$progname help options\" to list all options.\n". 
    341341            "Type \"$progname help shortcuts\" to list all command shortcuts.\n". 
     
    385385    } elseif ($help = PEAR_Command::getHelp($command)) { 
    386386        if (is_string($help)) { 
    387             return "$progname $command [options] $help\n"; 
     387            return "$progname $command ['options'] $help\n"; 
    388388        } 
    389389 
     
    392392        } 
    393393 
    394         return "$progname $command [options] $help[0]\n$help[1]"; 
     394        return "$progname $command ['options'] $help[0]\n$help[1]"; 
    395395    } 
    396396 
Note: See TracChangeset for help on using the changeset viewer.