mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 02:32:47 +00:00
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.
This commit is contained in:
parent
a17e9eac9c
commit
0be12df092
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57830
@ -43,13 +43,11 @@
|
|||||||
.Nd change group
|
.Nd change group
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm chgrp
|
.Nm chgrp
|
||||||
|
.Op Fl fhv
|
||||||
.Oo
|
.Oo
|
||||||
.Fl R
|
.Fl R
|
||||||
.Op Fl H | Fl L | Fl P
|
.Op Fl H | Fl L | Fl P
|
||||||
.Oc
|
.Oc
|
||||||
.Op Fl f
|
|
||||||
.Op Fl h
|
|
||||||
.Op Fl v
|
|
||||||
.Ar group
|
.Ar group
|
||||||
.Ar
|
.Ar
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
@ -40,23 +40,19 @@
|
|||||||
.Nd change file owner and group
|
.Nd change file owner and group
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm chown
|
.Nm chown
|
||||||
|
.Op Fl fhv
|
||||||
.Oo
|
.Oo
|
||||||
.Fl R
|
.Fl R
|
||||||
.Op Fl H | Fl L | Fl P
|
.Op Fl H | Fl L | Fl P
|
||||||
.Oc
|
.Oc
|
||||||
.Op Fl f
|
|
||||||
.Op Fl h
|
|
||||||
.Op Fl v
|
|
||||||
.Ar owner Ns Op Ar :group
|
.Ar owner Ns Op Ar :group
|
||||||
.Ar file ...
|
.Ar file ...
|
||||||
.Nm chown
|
.Nm chown
|
||||||
|
.Op Fl fhv
|
||||||
.Oo
|
.Oo
|
||||||
.Fl R
|
.Fl R
|
||||||
.Op Fl H | Fl L | Fl P
|
.Op Fl H | Fl L | Fl P
|
||||||
.Oc
|
.Oc
|
||||||
.Op Fl f
|
|
||||||
.Op Fl h
|
|
||||||
.Op Fl v
|
|
||||||
.Ar :group
|
.Ar :group
|
||||||
.Ar
|
.Ar
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
@ -86,7 +86,7 @@ main(argc, argv)
|
|||||||
ischown = myname[2] == 'o';
|
ischown = myname[2] == 'o';
|
||||||
|
|
||||||
Hflag = Lflag = Pflag = hflag = 0;
|
Hflag = Lflag = Pflag = hflag = 0;
|
||||||
while ((ch = getopt(argc, argv, "HLPRfh")) != -1)
|
while ((ch = getopt(argc, argv, "HLPRfhv")) != -1)
|
||||||
switch (ch) {
|
switch (ch) {
|
||||||
case 'H':
|
case 'H':
|
||||||
Hflag = 1;
|
Hflag = 1;
|
||||||
@ -109,6 +109,9 @@ main(argc, argv)
|
|||||||
case 'h':
|
case 'h':
|
||||||
hflag = 1;
|
hflag = 1;
|
||||||
break;
|
break;
|
||||||
|
case 'v':
|
||||||
|
vflag = 1;
|
||||||
|
break;
|
||||||
case '?':
|
case '?':
|
||||||
default:
|
default:
|
||||||
usage();
|
usage();
|
||||||
|
Loading…
Reference in New Issue
Block a user