diff options
author | obrien <obrien@FreeBSD.org> | 2000-03-08 16:31:42 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-03-08 16:31:42 +0000 |
commit | f9382c8a43eafcafd6f9e4c6150dc05dfaaed5bb (patch) | |
tree | 69b6509353964264e61965717f8df5c705e12163 /usr.sbin/chown | |
parent | 165bc7c35eafd57f21443a07e2227217d8c19027 (diff) | |
download | FreeBSD-src-f9382c8a43eafcafd6f9e4c6150dc05dfaaed5bb.zip FreeBSD-src-f9382c8a43eafcafd6f9e4c6150dc05dfaaed5bb.tar.gz |
Somehow I didn't get all the "-v" code commited.
Submitted by: Arindum Mukerji <rmukerji@execpc.com>
Approved by: JKH
Make the manpage more style(9) complient.
Diffstat (limited to 'usr.sbin/chown')
-rw-r--r-- | usr.sbin/chown/chgrp.1 | 4 | ||||
-rw-r--r-- | usr.sbin/chown/chown.8 | 8 | ||||
-rw-r--r-- | usr.sbin/chown/chown.c | 5 |
3 files changed, 7 insertions, 10 deletions
diff --git a/usr.sbin/chown/chgrp.1 b/usr.sbin/chown/chgrp.1 index 6852092..b4d46b6 100644 --- a/usr.sbin/chown/chgrp.1 +++ b/usr.sbin/chown/chgrp.1 @@ -43,13 +43,11 @@ .Nd change group .Sh SYNOPSIS .Nm chgrp +.Op Fl fhv .Oo .Fl R .Op Fl H | Fl L | Fl P .Oc -.Op Fl f -.Op Fl h -.Op Fl v .Ar group .Ar .Sh DESCRIPTION diff --git a/usr.sbin/chown/chown.8 b/usr.sbin/chown/chown.8 index 143c774..fcb0464 100644 --- a/usr.sbin/chown/chown.8 +++ b/usr.sbin/chown/chown.8 @@ -40,23 +40,19 @@ .Nd change file owner and group .Sh SYNOPSIS .Nm chown +.Op Fl fhv .Oo .Fl R .Op Fl H | Fl L | Fl P .Oc -.Op Fl f -.Op Fl h -.Op Fl v .Ar owner Ns Op Ar :group .Ar file ... .Nm chown +.Op Fl fhv .Oo .Fl R .Op Fl H | Fl L | Fl P .Oc -.Op Fl f -.Op Fl h -.Op Fl v .Ar :group .Ar .Sh DESCRIPTION diff --git a/usr.sbin/chown/chown.c b/usr.sbin/chown/chown.c index 4e7fea5..26d3073 100644 --- a/usr.sbin/chown/chown.c +++ b/usr.sbin/chown/chown.c @@ -86,7 +86,7 @@ main(argc, argv) ischown = myname[2] == 'o'; Hflag = Lflag = Pflag = hflag = 0; - while ((ch = getopt(argc, argv, "HLPRfh")) != -1) + while ((ch = getopt(argc, argv, "HLPRfhv")) != -1) switch (ch) { case 'H': Hflag = 1; @@ -109,6 +109,9 @@ main(argc, argv) case 'h': hflag = 1; break; + case 'v': + vflag = 1; + break; case '?': default: usage(); |