cli utilities - argc and argv reversed. Not functionally incorrect since it was consistent but aesthetically incorrect.

This commit is contained in:
redmatrix
2016-05-17 19:49:21 -07:00
parent 9a64c6b9f7
commit 43c2b22fca
18 changed files with 35 additions and 38 deletions

View File

@@ -4,7 +4,7 @@ require_once('include/cli_startup.php');
require_once('include/queue_fn.php');
require_once('include/zot.php');
function queue_run($argv, $argc){
function queue_run($argc,$argv){
cli_startup();
@@ -90,6 +90,6 @@ function queue_run($argv, $argc){
}
if (array_search(__file__,get_included_files())===0){
queue_run($argv,$argc);
queue_run($argc,$argv);
killme();
}