aboutsummaryrefslogtreecommitdiff
path: root/doc/testscript.cli
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-07-17 14:46:18 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-07-17 14:47:25 +0300
commit0898e65ca37686a0a06a2980acf8cc40c0e2494e (patch)
treee575f1c87bd9d3bb8dde1198389b8bd9f7b697fc /doc/testscript.cli
parentfe6f3ec0868185511f5acefb2729eb879798f052 (diff)
Add --after <ref-file> option for testscript touch builtin
Diffstat (limited to 'doc/testscript.cli')
-rw-r--r--doc/testscript.cli9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/testscript.cli b/doc/testscript.cli
index ad5557d..b7e89f1 100644
--- a/doc/testscript.cli
+++ b/doc/testscript.cli
@@ -2681,13 +2681,20 @@ Note that tests dereference symbolic links.
\h#builtins-touch|\c{touch}|
\
-touch [--no-cleanup] <file>...
+touch [--no-cleanup] [--after <ref-file>] <file>...
\
Change file access and modification times to the current time. Create files
that do not exist. Fail if a filesystem entry other than the file exists for
the specified name.
+\dl|
+
+\li|\n\c{--after <ref-file>}\n
+
+ Keep touching the file until its modification time becomes after that of the
+ specified reference file.||
+
Unless the \c{--no-cleanup} option is specified, newly created files that are
inside the script working directory are automatically registered for cleanup.