summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/style.94
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
OpenPOWER on IntegriCloud