cli : display the complete string instead of truncate it

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2758 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2016-06-10 08:04:02 +00:00
parent 230f8b7603
commit 75499a6639

View File

@@ -362,7 +362,14 @@ class cli
$r->auth["email"] = "cli";
$s = call_user_func_array(array($r, $method), $argv);
if ($this->QUIET === false || $s !== "" && $s !== array () && $s !== null)
var_dump ($s);
{
if (is_string ($s))
echo $s;
elseif (is_array ($s))
print_r ($s);
else
var_dump ($s);
}
}
catch (Exception $e)
{