PEAR_Command::getGetoptArgs

PEAR_Command::getGetoptArgs() – compiles arguments for getopt

Synopsis

require_once 'PEAR/command.php';

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

Description

Compiles arguments for getopt.

Parameter

string $command

command to get optstring for

string &$short_args

(reference) short getopt format

array &$long_args

(reference) long getopt format

Throws

Possible PEAR_Error values
Error code Error value Meaning Solution
  "    

Note

This function should be called statically.

get description for a command (Previous) get help for command (Next)
Last updated: Sat, 25 Oct 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.