diff options
author | imp <imp@FreeBSD.org> | 2005-01-05 21:27:01 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-01-05 21:27:01 +0000 |
commit | c00855c99f0e764223ffb1c87af5da7c344645c9 (patch) | |
tree | 82879cde9772ac1607b7d109032fe9846232dda7 /share/man/man9/style.9 | |
parent | 65d4d80800169bac83dae081a87e3d9e14719043 (diff) | |
download | FreeBSD-src-c00855c99f0e764223ffb1c87af5da7c344645c9.zip FreeBSD-src-c00855c99f0e764223ffb1c87af5da7c344645c9.tar.gz |
Clarify /*- convention.
Diffstat (limited to 'share/man/man9/style.9')
-rw-r--r-- | share/man/man9/style.9 | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9 index d699481..a67f5dd 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 |