diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-10-15 15:30:55 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-10-15 15:30:55 +0000 |
commit | 3e13a3250af068de42ff4ef8176a904aa98420a6 (patch) | |
tree | 15d8a7173c3ffa1347e1fb816f63324ed11a9a56 | |
parent | 00d15800f1559a723e52ed176f834ad2b9846502 (diff) | |
download | FreeBSD-src-3e13a3250af068de42ff4ef8176a904aa98420a6.zip FreeBSD-src-3e13a3250af068de42ff4ef8176a904aa98420a6.tar.gz |
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
-rw-r--r-- | sbin/tunefs/tunefs.8 | 8 | ||||
-rw-r--r-- | sbin/tunefs/tunefs.c | 12 |
2 files changed, 10 insertions, 10 deletions
diff --git a/sbin/tunefs/tunefs.8 b/sbin/tunefs/tunefs.8 index d7832da..b8c8a1d 100644 --- a/sbin/tunefs/tunefs.8 +++ b/sbin/tunefs/tunefs.8 @@ -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 diff --git a/sbin/tunefs/tunefs.c b/sbin/tunefs/tunefs.c index f915686..45166c8 100644 --- a/sbin/tunefs/tunefs.c +++ b/sbin/tunefs/tunefs.c @@ -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); |