aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2024-02-12 15:36:36 +0000
committerEd Maste <emaste@FreeBSD.org>2024-02-12 15:38:40 +0000
commitf1bd7311fbd576a387042c0d81945b701c7459a3 (patch)
tree8a1b27f3f656f858f724543d8a0e89cde1a6e5c5
parentfd1066bed67f642ed01f5dd62b7b6cfb0a45fd4c (diff)
downloadsrc-f1bd7311fbd576a387042c0d81945b701c7459a3.tar.gz
src-f1bd7311fbd576a387042c0d81945b701c7459a3.zip
style.lua.9: remove mention of $FreeBSD$
Also restore a comment line in an example which previously started with -- $FreeBSD$ but was removed in 6ef644f5889a. The example shows the of a module require statement block following the license header.
-rw-r--r--share/man/man9/style.lua.95
1 files changed, 2 insertions, 3 deletions
diff --git a/share/man/man9/style.lua.9 b/share/man/man9/style.lua.9
index 0417efc83c45..991a6f96b01b 100644
--- a/share/man/man9/style.lua.9
+++ b/share/man/man9/style.lua.9
@@ -44,14 +44,13 @@ is silent on an issue.
The copyright header should be a series of single-line comments.
Use the single-line comment style for every line in a multi-line comment.
.Pp
-After any copyright header, there is a blank line, and the
-.Li $\&FreeBSD$
-comment for non-C/C++ source files.
+After any copyright header there is a blank line.
.Pp
The preferred method of including other files and modules is with
.Fn require name ,
such as:
.Bd -literal
+-- License block
config = require("config");
menu = require("menu");