Correct some of the style problems in this file:
I introduced a style problem when I sorted 'a' before 'A'; our preferred order sorts 'A' first. Correct. Use .Cm instead of .Ar. Submitted by: bde
This commit is contained in:
parent
75e861d635
commit
a2325efeb1
@ -40,11 +40,11 @@
|
||||
.Nd tune up an existing file system
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl a Cm enable | disable
|
||||
.Op Fl A
|
||||
.Op Fl a Cm enable | disable
|
||||
.Op Fl e Ar maxbpg
|
||||
.Op Fl f Ar avgfilesize
|
||||
.Op Fl l Ar enable | disable
|
||||
.Op Fl l Cm enable | disable
|
||||
.Op Fl m Ar minfree
|
||||
.Op Fl n Cm enable | disable
|
||||
.Op Fl o Cm space | time
|
||||
@ -65,14 +65,14 @@ it must be downgraded to read-only or unmounted.
|
||||
The parameters which are to be changed are indicated by the flags
|
||||
given below:
|
||||
.Bl -tag -width indent
|
||||
.It Fl a Cm enable | disable
|
||||
Turn on/off the administrative ACL enable flag.
|
||||
.It Fl A
|
||||
The file system has several backups of the super-block.
|
||||
Specifying
|
||||
this option will cause all backups to be modified as well as the
|
||||
primary super-block.
|
||||
This is potentially dangerous - use with caution.
|
||||
.It Fl a Cm enable | disable
|
||||
Turn on/off the administrative ACL enable flag.
|
||||
.It Fl e Ar maxbpg
|
||||
Indicate the maximum number of blocks any single file can
|
||||
allocate out of a cylinder group before it is forced to begin
|
||||
|
@ -109,8 +109,12 @@ main(argc, argv)
|
||||
if (argc < 3)
|
||||
usage();
|
||||
found_arg = 0; /* at least one arg is required */
|
||||
while ((ch = getopt(argc, argv, "a:Ae:f:l:m:n:o:ps:")) != -1)
|
||||
while ((ch = getopt(argc, argv, "Aa:e:f:l:m:n:o:ps:")) != -1)
|
||||
switch (ch) {
|
||||
case 'A':
|
||||
found_arg = 1;
|
||||
Aflag++;
|
||||
break;
|
||||
case 'a':
|
||||
found_arg = 1;
|
||||
name = "ACLs";
|
||||
@ -121,10 +125,6 @@ main(argc, argv)
|
||||
}
|
||||
aflag = 1;
|
||||
break;
|
||||
case 'A':
|
||||
found_arg = 1;
|
||||
Aflag++;
|
||||
break;
|
||||
case 'e':
|
||||
found_arg = 1;
|
||||
name = "maximum blocks per file in a cylinder group";
|
||||
@ -377,7 +377,7 @@ void
|
||||
usage()
|
||||
{
|
||||
fprintf(stderr, "%s\n%s\n%s\n",
|
||||
"usage: tunefs [-a enable | disable] [-A] [-e maxbpg] [-f avgfilesize]",
|
||||
"usage: tunefs [-A] [-a enable | disable] [-e maxbpg] [-f avgfilesize]",
|
||||
" [-l enable | disable] [-m minfree] [-n enable | disable]",
|
||||
" [-o space | time] [-p] [-s avgfpdir] special | filesystem");
|
||||
exit(2);
|
||||
|
Loading…
Reference in New Issue
Block a user