git: f1bd7311fbd5 - main - style.lua.9: remove mention of $FreeBSD$
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Feb 2024 15:40:29 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=f1bd7311fbd576a387042c0d81945b701c7459a3
commit f1bd7311fbd576a387042c0d81945b701c7459a3
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2024-02-12 15:36:36 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-02-12 15:38:40 +0000
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.
---
share/man/man9/style.lua.9 | 5 ++---
1 file 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");