From da52f590b5e9b5c1918342179b8f2220438458ed Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 5 Jan 2005 21:27:01 +0000 Subject: [PATCH] Clarify /*- convention. --- share/man/man9/style.9 | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index d69948100d4..a67f5dd060f 100644 --- a/share/man/man9/style.9 +++ b/share/man/man9/style.9 @@ -1,4 +1,5 @@ -.\" Copyright (c) 1995-2001 FreeBSD Inc. +.\"- +.\" Copyright (c) 1995-2005 The FreeBSD Project .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without @@ -22,7 +23,6 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" .Dd December 7, 2001 .Dt STYLE 9 .Os @@ -62,11 +62,21 @@ The copyright header should be a muli-line comment, with the first line of the comment having a dash after the star like so: .Bd -literal /*- - * Copyright 1942 M. Warner Losh. All Rights Reserved. + * Copyright (c) 1984-2025 John Q. Public. All Rights Reserved. * * Long, boring license goes here, but redacted for brevity */ .Ed +An automatic script collects license information from the tree for +all comments that start in the first column with +.Dq Li "/*-" . +If you desire to flag +.Xr indent 1 +to not reformat a comment that starts in the first column which is not a +license or copyright notice, change the dash to a star for those +comments. +Coments starting in columns other than the first comment are never +considered license statements. .Pp After any copyright header, there is a blank line, and the .Va rcsid