diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-11-01 21:57:15 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-11-01 21:57:15 +0000 |
commit | 1a8a70b888e42a68de1b5d0ec07f8fba2f660dc3 (patch) | |
tree | 7fc63ab91610d3f18e1dd05114db95f66670751f /share | |
parent | 05539aeff84b4d3a2f2f6c3c3b964f9410833b0a (diff) |
Delete sentence about option ordering the manpage (moved to mdoc.7)
While here: PRINTFLIKE has been cleaned from base so don't mention it
suggested by and ok jmc@ schwarze@
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/style.9 | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index 48804a69cf4..f461ec1b8c1 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -22,9 +22,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: style.9,v 1.64 2015/10/12 17:20:53 schwarze Exp $ +.\" $OpenBSD: style.9,v 1.65 2015/11/01 21:57:14 guenther Exp $ .\" -.Dd $Mdocdate: October 12 2015 $ +.Dd $Mdocdate: November 1 2015 $ .Dt STYLE 9 .Os .Sh NAME @@ -589,8 +589,6 @@ placed in a single set of braces. If numbers are used as options, they should be placed first, as shown in the example below. Uppercase letters take precedence over lowercase. -Note that the options list in manual pages should be purely alphabetical. -That is, with no regard to whether an option takes an argument. .Bd -literal -offset indent "usage: f [-12aDde] [-b b_arg] [-m m_arg] req1 req2 [opt1 [opt2]]\en" "usage: f [-a | -b] [-c [-de] [-n number]]\en" @@ -614,8 +612,8 @@ Whenever possible, code should be run through a code checker or splint from the ports tree) and produce minimal warnings. Since lint has been removed, the only lint-style comment that should be used is FALLTHROUGH, as it's useful to humans. -Other lint-style comments such as ARGSUSED, LINTED, NOTREACHED, and -PRINTFLIKE may be deleted. +Other lint-style comments such as ARGSUSED, LINTED, and NOTREACHED +may be deleted. .Pp Note that documentation follows its own style guide, as documented in |