Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update parseArgs comment block

  • Loading branch information...
commit 3290bc018635422960e87b71ea673e1539fbfdea 1 parent cdd04e3
@pwfisher pwfisher authored
Showing with 7 additions and 3 deletions.
  1. +7 −3 API/helper_functions/parseArgs.php
View
10 API/helper_functions/parseArgs.php
@@ -1,6 +1,10 @@
<?php
-// FROM PHP.NET
-
+/**
+ * parseArgs Command Line Interface (CLI) utility function.
+ * @usage $args = parseArgs($_SERVER['argv']);
+ * @author Patrick Fisher <patrick@pwfisher.com>
+ * @source https://github.com/pwfisher/CommandLine.php
+ */
function __parseArgs(){
global $argv;
array_shift($argv);
@@ -32,4 +36,4 @@ function __parseArgs(){
}
return $out;
}
-?>
+?>
Please sign in to comment.
Something went wrong with that request. Please try again.