From 0facce957eb1d1b4a7ce73f413e95d2501b6272b Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 28 Aug 2018 14:04:19 +0200 Subject: better docs --- it.class | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/it.class b/it.class index 3720263..6ce68a8 100644 --- a/it.class +++ b/it.class @@ -598,8 +598,8 @@ static function filter_keys($array, $keys, $p = array()) * {0} .. {n} quotes and inserts positional arguments * {-opts} array of opts => {value,true,false,null}: it::exec('ls {-opts}', ['-opts' => ["-l" => true]]); * @param $cmd Format string with {keywords} a la ET() - * @param $values (zero, one or more arrays can be passed) - * @return output of command. shell errors not detectable, see error_log in /www/server/log + * @param $values varargs, contains key => val arrays for filling in cmd line. val=null expands to nothing + * @return output of command. shell errors not detectable, consider it::system or see /www/server/log/error_log */ static function exec(/* $cmd, $values1 = array(), ... */) { -- cgit v1.2.3