summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2016-01-19 15:33:18 +0100
committerUrban Müller2016-01-19 15:33:18 +0100
commitdc5a7ca1ee4bad12f769046cc68f0891c2e5faef (patch)
tree74bcedc58deaa3a7ed83d7c1057ae90d1d8d89a7
parent01a6c305cf7683830a9497eb8f124b8420f7100f (diff)
downloaditools-dc5a7ca1ee4bad12f769046cc68f0891c2e5faef.tar.gz
itools-dc5a7ca1ee4bad12f769046cc68f0891c2e5faef.tar.bz2
itools-dc5a7ca1ee4bad12f769046cc68f0891c2e5faef.zip
better docs
-rw-r--r--it.class6
1 files changed, 3 insertions, 3 deletions
diff --git a/it.class b/it.class
index 6840eaa..6a77672 100644
--- a/it.class
+++ b/it.class
@@ -532,7 +532,7 @@ static function exec(/* $cmd, $values1 = array(), ... */)
* stdout/stderr is forwarded to stdout/stderror of calling script
* {keyword} quotes and inserts value from assoc array like ET()
* {0} .. {n} quotes and inserts positional arguments
- * {-opts} takes an array and inserts options a la it_html attributes (value, true, false or null)
+ * {-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 exit code of command.
@@ -555,8 +555,8 @@ static function system(/* $cmd, $values1 = array(), ... */)
/**
* Construct shell command
- * Keywords {keyword} are replace a la ET(), {-opts} takes an array and
- * inserts options a la it_html attributes (value, true, false or null)
+ * Keywords {keyword} are replace a la ET(),
+ * {-opts} array of opts => {value,true,false,null}: it::exec('ls {-opts}', ['-opts' => ["-l" => true]]);
* @param $cmd Format string with {keywords} replace 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/logs