From 2604052f3203db31c273b99575b761af0dedac5a Mon Sep 17 00:00:00 2001 From: Patrick Fisher Date: Sat, 16 Mar 2013 02:17:36 -0700 Subject: [PATCH] update parseArgs comment block --- avmutility.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 +?>