]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Document the options with a list of options, as in the pwck(8) manpage.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 22 Jan 2008 20:56:13 +0000 (20:56 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 22 Jan 2008 20:56:13 +0000 (20:56 +0000)
ChangeLog
man/grpck.8.xml

index bb97bac2a3acafac3916c85cd8fb2d2b2e0b96c3..3f0e4c22bae4b951f359b40c3ee6635526de3cf6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * man/grpck.8.xml: Document the options with a list of options,
+       as in the pwck(8) manpage.
+
 2008-01-22  Nicolas François  <nicolas.francois@centraliens.net>
 
        * NEWS, src/newgrp.c: Fix segfault when an user returns to an
index 8d11fe3625993bc1432713245c1e5499f181cea4..d391dea2fafc4f4053b8522eb68de3ed1486e020 100644 (file)
        <arg choice='plain'><replaceable>shadow</replaceable></arg>
       </arg>
     </cmdsynopsis>
+    <cmdsynopsis>
+      <command>grpck</command>    <arg choice='opt'>-s </arg>
+      <arg choice='opt'>
+       <arg choice='plain'><replaceable>group</replaceable></arg>
+       <arg choice='plain'><replaceable>shadow</replaceable></arg>
+      </arg>
+    </cmdsynopsis>
   </refsynopsisdiv>
 
   <refsect1 id='description'>
 
   <refsect1 id='options'>
     <title>OPTIONS</title>
+    <para>
+      The options which apply to the <command>grpck</command> command are:
+    </para>
+    <variablelist remap='IP'>
+      <varlistentry>
+       <term><option>-r</option></term>
+       <listitem>
+         <para>
+           Execute the <command>grpck</command> command in read-only mode.
+           This causes all questions regarding changes to be answered
+           <emphasis>no</emphasis> without user intervention.
+         </para>
+       </listitem>
+      </varlistentry>
+      <varlistentry>
+       <term><option>-s</option></term>
+       <listitem>
+         <para>
+           Sort entries in <filename>/etc/group</filename> and
+           <filename>/etc/gshadow</filename> by GID.
+         </para>
+       </listitem>
+      </varlistentry>
+    </variablelist>
     <para>
       By default, <command>grpck</command> operates on the files
       <filename>/etc/group</filename> and <filename>/etc/gshadow</filename>. 
       The user may select alternate files with the <emphasis
       remap='I'>group</emphasis> and <emphasis remap='I'>shadow</emphasis>
-      parameters. Additionally, the user may execute the command in
-      read-only mode by specifying the <option>-r</option> flag. This causes
-      all questions regarding changes to be answered <emphasis>no</emphasis>
-      without user intervention. <command>grpck</command> can also sort
-      entries in <filename>/etc/group</filename> and
-      <filename>/etc/gshadow</filename> by GID. To run it in sort mode pass
-      it <option>-s</option> flag. No checks are performed then, it just
-      sorts.
+      parameters.
     </para>
   </refsect1>