aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-17 19:49:21 -0700
committerredmatrix <git@macgirvin.com>2016-05-17 19:49:21 -0700
commit43c2b22fca908cb5c7bb740855cbd9d04e085d62 (patch)
tree564b44ee9b2850f3299494bf0dfaf528d90a9501 /util
parent9a64c6b9f79a032e192eac31be10017bf8f5fa18 (diff)
downloadvolse-hubzilla-43c2b22fca908cb5c7bb740855cbd9d04e085d62.tar.gz
volse-hubzilla-43c2b22fca908cb5c7bb740855cbd9d04e085d62.tar.bz2
volse-hubzilla-43c2b22fca908cb5c7bb740855cbd9d04e085d62.zip
cli utilities - argc and argv reversed. Not functionally incorrect since it was consistent but aesthetically incorrect.
Diffstat (limited to 'util')
-rw-r--r--util/po2php.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/po2php.php b/util/po2php.php
index 66807083b..ab8c495f9 100644
--- a/util/po2php.php
+++ b/util/po2php.php
@@ -1,7 +1,7 @@
<?php
-function po2php_run($argv, $argc) {
+function po2php_run($argc,$argv) {
if ($argc!=2) {
print "Usage: ".$argv[0]." <file.po>\n\n";
@@ -140,5 +140,5 @@ function trim_message($str) {
}
if (array_search(__file__,get_included_files())===0){
- po2php_run($argv,$argc);
+ po2php_run($argc,$argv);
}