summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
authorBob Proulx <bob@proulx.com>2007-08-20 22:04:45 -0600
committerJim Meyering <jim@meyering.net>2007-08-21 09:01:07 +0200
commit741f851bf61c884ea41eaee2c1a90d4cab99776f (patch)
treef1ba4a33d744c765d7d824ac8b4cb06bea62e0d6 /doc/coreutils.texi
parent6dfe8fc30d29658ec002c04d390b19435cdecba1 (diff)
downloadcoreutils-741f851bf61c884ea41eaee2c1a90d4cab99776f.tar.xz
Clarify touch documentation of file arguments.
* src/touch.c (usage): Improve wording of documentation regarding file argument handling and special handling of - argument. * doc/coreutils.texi (touch invocation): Likewise. Documentation problem reported by Vincent Lefevre.
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r--doc/coreutils.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index e3164a950..800ca64ca 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -9271,10 +9271,11 @@ touch [@var{option}]@dots{} @var{file}@dots{}
@end example
@cindex empty files, creating
-Any @var{file} that does not exist is created empty.
+Any @var{file} argument that does not exist is created empty.
-A @var{file} of @samp{-} causes @command{touch} to change the
-times of the file associated with standard output.
+A @var{file} argument string of @samp{-} is handled specially and
+causes @command{touch} to change the times of the file associated with
+standard output.
@cindex permissions, for changing file timestamps
If changing both the access and modification times to the current