summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2018-08-28 14:04:19 +0200
committerUrban Müller2018-08-28 14:04:19 +0200
commit0facce957eb1d1b4a7ce73f413e95d2501b6272b (patch)
tree21f04f7307d4faea6f8d5347ec2141268b0581f2
parent986b0670a393b79e3e18d90f59b1381a62935c13 (diff)
downloaditools-0facce957eb1d1b4a7ce73f413e95d2501b6272b.tar.gz
itools-0facce957eb1d1b4a7ce73f413e95d2501b6272b.tar.bz2
itools-0facce957eb1d1b4a7ce73f413e95d2501b6272b.zip
better docs
-rw-r--r--it.class4
1 files 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(), ... */)
{