commit:     a47f823e94931580ffebcc76f160dc7dcf53e02b
Author:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  2 00:21:20 2016 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Fri Sep  2 00:21:20 2016 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=a47f823e

ebuild-writing/users-and-groups: fix enewuser calling convention #592702

enewuser stopped passing extra arguments, shown as '[params]' in the
docs, to useradd. Update the docs to reflect the eclass change.

Gentoo-Bug: https://bugs.gentoo.org/592702

 ebuild-writing/users-and-groups/text.xml | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/ebuild-writing/users-and-groups/text.xml 
b/ebuild-writing/users-and-groups/text.xml
index e1d0fcd..536be3b 100644
--- a/ebuild-writing/users-and-groups/text.xml
+++ b/ebuild-writing/users-and-groups/text.xml
@@ -52,7 +52,7 @@ To add a user, use the <c>enewuser</c> function:
 </p>
 
 <pre>
-enewuser &lt;user&gt; [uid] [shell] [homedir] [groups] [params]
+enewuser &lt;user&gt; [uid] [shell] [homedir] [groups]
 </pre>
 
 <p>
@@ -77,11 +77,6 @@ wrapped correctly, for example:
 enewuser frozd -1 -1 -1 "backup,frozd"
 </pre>
 
-<p>
-Finally, any data left over for the <c>params</c> argument is passed directly 
to
-useradd.
-</p>
-
 <note>
 User IDs should rarely be hardcoded. If this is the case, you should
 probably check first on gentoo-dev.

Reply via email to