diff --git a/avmutility.php b/avmutility.php index 48a017b..f196d0d 100755 --- a/avmutility.php +++ b/avmutility.php @@ -40,8 +40,11 @@ function __autoload($class_name) { exit(0); -/* - * From: http://pwfisher.com/nucleus/index.php?itemid=45 +/** + * parseArgs Command Line Interface (CLI) utility function. + * @usage $args = parseArgs($_SERVER['argv']); + * @author Patrick Fisher + * @source https://github.com/pwfisher/CommandLine.php */ function parseArgs($argv) { array_shift($argv); $o = array(); @@ -119,4 +122,4 @@ function echoError($argv) { exit(1); } -?> \ No newline at end of file +?>