Gentoo Archives: gentoo-dev

From: Ben Kohler <bkohler@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH] tmpfiles.eclass: fix @USAGE to not include function name
Date: Fri, 06 Sep 2019 17:27:33
Message-Id: fac26690-f943-0e8d-1194-7960eac20863@gentoo.org
1 Signed-off-by: Ben Kohler <bkohler@g.o>
2 ---
3 eclass/tmpfiles.eclass | 6 +++---
4 1 file changed, 3 insertions(+), 3 deletions(-)
5
6 diff --git a/eclass/tmpfiles.eclass b/eclass/tmpfiles.eclass
7 index 68478ffbcd6..360c5e3b816 100644
8 --- a/eclass/tmpfiles.eclass
9 +++ b/eclass/tmpfiles.eclass
10 @@ -63,7 +63,7 @@ esac
11 RDEPEND="virtual/tmpfiles"
12
13 # @FUNCTION: dotmpfiles
14 -# @USAGE: dotmpfiles <tmpfiles.d_file> ...
15 +# @USAGE: <tmpfiles.d_file> ...
16 # @DESCRIPTION:
17 # Install one or more tmpfiles.d files into /usr/lib/tmpfiles.d.
18 dotmpfiles() {
19 @@ -84,7 +84,7 @@ dotmpfiles() {
20 }
21
22 # @FUNCTION: newtmpfiles
23 -# @USAGE: newtmpfiles <old-name> <new-name>.conf
24 +# @USAGE: <old-name> <new-name>.conf
25 # @DESCRIPTION:
26 # Install a tmpfiles.d file in /usr/lib/tmpfiles.d under a new name.
27 newtmpfiles() {
28 @@ -102,7 +102,7 @@ newtmpfiles() {
29 }
30
31 # @FUNCTION: tmpfiles_process
32 -# @USAGE: tmpfiles_process <filename> <filename> ...
33 +# @USAGE: <filename> <filename> ...
34 # @DESCRIPTION:
35 # Call a tmpfiles.d implementation to create new volatile and temporary
36 # files and directories.
37 --
38 2.23.0

Replies