From c452cfd5d6136a3e1e67e2af9d92b0d89752b3e8 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 15 Aug 2023 15:23:16 +0200 Subject: docs fix --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it.class b/it.class index 4bffec5..08d31f1 100644 --- a/it.class +++ b/it.class @@ -678,7 +678,7 @@ static function filter_keys($array, $keys, $p = array()) * {-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 $args varargs, contains key => val arrays or positionals for filling in cmd line. val=null expands to nothing - * '_callback' optional closure, $fn($cmd) => print($cmd) for echo, => !print($cmd) for echo and suppress + * '_callback' optional closure, $fn($cmd) => print("$cmd\n") for echo, => !print($cmd) for echo and suppress * @return output of command. shell errors not detectable, consider it::system or see /www/server/log/error_log */ static function exec($cmd, ...$args) -- cgit v1.2.3