summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-09-11 08:53:18 +0000
committerMichał Górny <mgorny@gentoo.org>2013-09-11 08:53:18 +0000
commitf5a5e2a685a6cd9c41c5250ed020e741c9ce5d38 (patch)
tree66431372f60dbc9392c58d0f2f4f881140ef1ec7 /eclass
parentDeprecate systemd_to_myeconfargs(). It's redundant and unnecessarily confusing. (diff)
downloadgentoo-2-f5a5e2a685a6cd9c41c5250ed020e741c9ce5d38.tar.gz
gentoo-2-f5a5e2a685a6cd9c41c5250ed020e741c9ce5d38.tar.bz2
gentoo-2-f5a5e2a685a6cd9c41c5250ed020e741c9ce5d38.zip
Change @USAGE style.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/systemd.eclass14
2 files changed, 11 insertions, 8 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 8c00581bf9cf..f0ebd2349109 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.957 2013/09/11 08:50:07 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.958 2013/09/11 08:53:18 mgorny Exp $
+
+ 11 Sep 2013; Michał Górny <mgorny@gentoo.org> systemd.eclass:
+ Change @USAGE style.
11 Sep 2013; Michał Górny <mgorny@gentoo.org> systemd.eclass:
Deprecate systemd_to_myeconfargs(). It's redundant and unnecessarily
diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass
index 10c06a293d3f..d988102c0bbf 100644
--- a/eclass/systemd.eclass
+++ b/eclass/systemd.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.28 2013/09/11 08:50:07 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.29 2013/09/11 08:53:18 mgorny Exp $
# @ECLASS: systemd.eclass
# @MAINTAINER:
@@ -106,7 +106,7 @@ systemd_get_utildir() {
}
# @FUNCTION: systemd_dounit
-# @USAGE: unit1 [...]
+# @USAGE: <unit>...
# @DESCRIPTION:
# Install systemd unit(s). Uses doins, thus it is fatal in EAPI 4
# and non-fatal in earlier EAPIs.
@@ -120,7 +120,7 @@ systemd_dounit() {
}
# @FUNCTION: systemd_newunit
-# @USAGE: oldname newname
+# @USAGE: <old-name> <new-name>
# @DESCRIPTION:
# Install systemd unit with a new name. Uses newins, thus it is fatal
# in EAPI 4 and non-fatal in earlier EAPIs.
@@ -134,7 +134,7 @@ systemd_newunit() {
}
# @FUNCTION: systemd_dotmpfilesd
-# @USAGE: tmpfilesd1 [...]
+# @USAGE: <tmpfilesd>...
# @DESCRIPTION:
# Install systemd tmpfiles.d files. Uses doins, thus it is fatal
# in EAPI 4 and non-fatal in earlier EAPIs.
@@ -153,7 +153,7 @@ systemd_dotmpfilesd() {
}
# @FUNCTION: systemd_newtmpfilesd
-# @USAGE: oldname newname.conf
+# @USAGE: <old-name> <new-name>.conf
# @DESCRIPTION:
# Install systemd tmpfiles.d file under a new name. Uses newins, thus it
# is fatal in EAPI 4 and non-fatal in earlier EAPIs.
@@ -170,7 +170,7 @@ systemd_newtmpfilesd() {
}
# @FUNCTION: systemd_enable_service
-# @USAGE: target service
+# @USAGE: <target> <service>
# @DESCRIPTION:
# Enable service in desired target, e.g. install a symlink for it.
# Uses dosym, thus it is fatal in EAPI 4 and non-fatal in earlier
@@ -190,7 +190,7 @@ systemd_enable_service() {
}
# @FUNCTION: systemd_with_unitdir
-# @USAGE: [configure option]
+# @USAGE: [<configure-option-name>]
# @DESCRIPTION:
# Output '--with-systemdsystemunitdir' as expected by systemd-aware configure
# scripts. This function always succeeds. Its output may be quoted in order