From 7df9c01781d92a5eae3cb1617d6b731a3008570f Mon Sep 17 00:00:00 2001 From: Patrick Fisher Date: Sat, 16 Mar 2013 03:00:36 -0700 Subject: [PATCH] update parseArgs comment block --- custom/lib/handleParams.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/custom/lib/handleParams.php b/custom/lib/handleParams.php index 1ffd8fb..9e83830 100644 --- a/custom/lib/handleParams.php +++ b/custom/lib/handleParams.php @@ -29,6 +29,12 @@ function run(){ $this->main(); return $this->config; } + /** + * parseArgs Command Line Interface (CLI) utility function. + * @usage $args = parseArgs($_SERVER['argv']); + * @author Patrick Fisher + * @source https://github.com/pwfisher/CommandLine.php + */ public static function parseArgs($argv){ array_shift($argv); $out = array();