diff options
author | dd <dd@FreeBSD.org> | 2001-06-18 20:36:06 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-06-18 20:36:06 +0000 |
commit | e4094cb6c3dcb50dea4fa679c1b2a3a7297cbd0f (patch) | |
tree | 2e462211775584a2c43cd1f0c372390f8d187673 /share | |
parent | 204b9a8a22df17a404244eec0f26fdffc366afa6 (diff) | |
download | FreeBSD-src-e4094cb6c3dcb50dea4fa679c1b2a3a7297cbd0f.zip FreeBSD-src-e4094cb6c3dcb50dea4fa679c1b2a3a7297cbd0f.tar.gz |
Correct getopt usage and a syntax error (period used instead of a semicolon).
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/style.9 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index 6c2efc3..d6696ce 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -280,7 +280,7 @@ cascade should have a FALLTHROUGH comment. Numerical arguments should be checked for accuracy. Code that cannot be reached should have a NOTREACHED comment. .Bd -literal - while ((ch = getopt(argc, argv, "abn")) != -1) + while ((ch = getopt(argc, argv, "abn:")) != -1) switch (ch) { /* Indent the switch. */ case 'a': /* Don't indent the case. */ aflag = 1; @@ -343,7 +343,7 @@ Second level indents are four spaces. while (cnt < 20) z = a + really + long + statement + that + needs + two lines + gets + indented + four + spaces + - on + the + second + and + subsequent + lines. + on + the + second + and + subsequent + lines; .Ed .Pp Do not add whitespace at the end of a line, and only use tabs |