OSDN Git Service

Pierre's update for mkgroup/mkpasswd
authorjoshuadfranklin <joshuadfranklin>
Thu, 10 Apr 2003 23:27:13 +0000 (23:27 +0000)
committerjoshuadfranklin <joshuadfranklin>
Thu, 10 Apr 2003 23:27:13 +0000 (23:27 +0000)
winsup/utils/utils.sgml

index 36b0f44..a5cecec 100644 (file)
@@ -366,17 +366,16 @@ SIGUSR2     31    user defined signal 2
 <sect2 id="mkgroup"><title>mkgroup</title>
 
 <screen>
-Usage: mkgroup [OPTION]... [domain]
+Usage: mkgroup [OPTION]... [domain]...
 
 This program prints a /etc/group file to stdout
 
 Options:
    -l,--local             print local group information
    -c,--current           print current group, if a domain account
-   -d,--domain            print global group information from the domain
-                          specified (or from the current domain if there is
-                          no domain specified)
-   -o,--id-offset offset  change the default offset (10000) added to uids
+   -d,--domain            print global group information (from current
+                          domain if no domains specified).
+   -o,--id-offset offset  change the default offset (10000) added to gids
                           in domain accounts.
    -s,--no-sids           don't print SIDs in pwd field
                           (this affects ntsec)
@@ -435,7 +434,7 @@ while the local machine is disconnected from the Domain Controller.
 <sect2 id="mkpasswd"><title>mkpasswd</title>
 
 <screen>
-Usage: mkpasswd [OPTION]... [domain]
+Usage: mkpasswd [OPTION]... [domain]...
 
 This program prints a /etc/passwd file to stdout
 
@@ -443,15 +442,15 @@ Options:
    -l,--local              print local user accounts
    -c,--current            print current account, if a domain account
    -d,--domain             print domain accounts (from current domain
-                           if no domain specified)
+                           if no domains specified)
    -o,--id-offset offset   change the default offset (10000) added to uids
                            in domain accounts.
    -g,--local-groups       print local group information too
-                           if no domain specified
+                           if no domains specified
    -m,--no-mount           don't use mount points for home dir
    -s,--no-sids            don't print SIDs in GCOS field
                            (this affects ntsec)
-   -p,--path-to-home path  use specified path instead of user account home dir
+   -p,--path-to-home path  use specified path and not user account home dir or /home
    -u,--username username  only return information for the specified user
    -h,--help               displays this message
    -v,--version            version information and exit
@@ -500,7 +499,8 @@ directory of H: could mount them differently.  The <literal>-s</literal>
 option omits the NT Security Identifier (SID).  For more information on
 SIDs, see <Xref Linkend="ntsec"> in the Cygwin User's Guide.  The
 <literal>-p</literal> option causes <command>mkpasswd</command> to
-use a prefix other than <literal>/home/</literal>. For example, this command:
+use the specified prefix instead of the account home dir or <literal>/home/
+</literal>. For example, this command:
 
 <example><title>Using an alternate home root</title>
 <screen>