PEAR_Command::getGetoptArgs

PEAR_Command::getGetoptArgs() – compile des arguments pour getopt

Synopsis

require_once 'PEAR/command.php';

void PEAR_Command::getGetoptArgs ( string $command , string &$short_args , array &$long_args )

Description

Compile des arguments pour getopt.

Parameter

string $command

commande pour laquelle on veut l'optstring

string &$short_args

(référence) format court getopt

array &$long_args

(référence) format long getopt

Throws

Possible PEAR_Error values
Code erreur Valeur erreur Signification Solution
"

Note

This function should be called statically.