diff options
Diffstat (limited to 'doc/testscript.cli')
-rw-r--r-- | doc/testscript.cli | 9 |
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. |