From 0898e65ca37686a0a06a2980acf8cc40c0e2494e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 17 Jul 2018 14:46:18 +0300 Subject: Add --after option for testscript touch builtin --- doc/testscript.cli | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'doc/testscript.cli') 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] ... +touch [--no-cleanup] [--after ] ... \ 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 }\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. -- cgit v1.1