summaryrefslogtreecommitdiffstats
path: root/usr.bin/touch
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-09-24 17:42:37 +0000
committerobrien <obrien@FreeBSD.org>2001-09-24 17:42:37 +0000
commit46f886d612243c5e66ccdd5a738809c1cd4e307d (patch)
treed2eb60ddcdef5e67f1032d9221effc033c843fee /usr.bin/touch
parentfc598410d384354e52b79378745bf6c4d6d46732 (diff)
downloadFreeBSD-src-46f886d612243c5e66ccdd5a738809c1cd4e307d.zip
FreeBSD-src-46f886d612243c5e66ccdd5a738809c1cd4e307d.tar.gz
Clarify that -h implies -c.
Diffstat (limited to 'usr.bin/touch')
-rw-r--r--usr.bin/touch/touch.15
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/touch/touch.1 b/usr.bin/touch/touch.1
index 46ed028..5612e54 100644
--- a/usr.bin/touch/touch.1
+++ b/usr.bin/touch/touch.1
@@ -73,6 +73,11 @@ currently permit it.
.It Fl h
If the file is a symbolic link, change the times of the link
itself rather than the file that the link points to.
+Note that
+.Fl h
+implies
+.Fl c
+and thus will not create any new files.
.It Fl m
Change the modification time of the file.
The access time of the file is not changed unless the
OpenPOWER on IntegriCloud