summaryrefslogtreecommitdiff
path: root/bin/chmod/chmod.1
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2011-07-13 08:12:11 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2011-07-13 08:12:11 +0000
commitce07aaa4e8f305d60f97233f075680b9d423a73a (patch)
treec3ba043f04bb7654b65447c60117df30068f4caf /bin/chmod/chmod.1
parentabaceaede93351f257dee2b7716382fb5816a639 (diff)
ellipsis is not an optional argument; replace ".Ar file ..." -> ".Ar";
simplify the symbolic modes format. ok (and fine-tuned by) jmc@, millert@
Diffstat (limited to 'bin/chmod/chmod.1')
-rw-r--r--bin/chmod/chmod.118
1 files changed, 5 insertions, 13 deletions
diff --git a/bin/chmod/chmod.1 b/bin/chmod/chmod.1
index a8dcb4e819e..810c6663196 100644
--- a/bin/chmod/chmod.1
+++ b/bin/chmod/chmod.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chmod.1,v 1.35 2010/09/03 09:53:20 jmc Exp $
+.\" $OpenBSD: chmod.1,v 1.36 2011/07/13 08:12:10 sobrado Exp $
.\" $NetBSD: chmod.1,v 1.8 1995/03/21 09:02:07 cgd Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993, 1994
@@ -33,7 +33,7 @@
.\"
.\" @(#)chmod.1 8.4 (Berkeley) 3/31/94
.\"
-.Dd $Mdocdate: September 3 2010 $
+.Dd $Mdocdate: July 13 2011 $
.Dt CHMOD 1
.Os
.Sh NAME
@@ -102,8 +102,7 @@ Absolute modes are specified according to the following format:
.Bd -filled -offset indent
.Nm chmod
.Ar nnnn
-.Ar file
-.Op Ar ...
+.Ar
.Ed
.Pp
An absolute mode is an octal number (specified as
@@ -173,18 +172,11 @@ Symbolic modes are specified according to the following format:
.Bd -filled -offset indent
.Nm chmod
.Sm off
-.Ao
-.Op Ar who
-.Ar op
-.Op Ar perm
-.Ac Ns Li , Oo
.Op Ar who
.Ar op
-.Op Ar perm
-.Oc Ns Li , Op Ar ...
+.Oo Ar perm Oc , Ar ...
.Sm on
-.Ar file
-.Op Ar ...
+.Ar
.Ed
.Pp
The