PEAR_Command::getGetoptArgs

PEAR_Command::getGetoptArgs() – getopt 用の引数を集める

Synopsis

require_once 'PEAR/command.php';

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

Description

getopt 用の引数を集めます。

Parameter

string $command

オプション文字列を取得するコマンド。

string &$short_args

(参照) 短い形式の getopt フォーマット。

array &$long_args

(参照) 長い形式の getopt フォーマット。

Throws

Possible PEAR_Error values
エラーコード エラーの値 意味 対応
  "    

Note

This function should be called statically.