diff --git a/winsup/doc/utils.xml b/winsup/doc/utils.xml
index 08a24f754..4853d9222 100644
--- a/winsup/doc/utils.xml
+++ b/winsup/doc/utils.xml
@@ -102,7 +102,10 @@ Note: -c, -f, and -l only report on packages that are currently installed. To
The -f option helps you to track down which
package a file came from, and -l lists all files in a
package. For example, to find out about
- /usr/bin/less and its package: /usr/bin/less and its package:
+
+
+ Example cygcheck
usage
@@ -116,7 +119,7 @@ $ cygcheck -l less
/usr/man/man1/less.1
/usr/man/man1/lesskey.1
-
+
The -h option prints additional helpful messages
in the report, at the beginning of each section. It also adds table
@@ -150,7 +153,9 @@ $ cygcheck -l less
For example, perhaps you are getting an error because you are missing
a certain DLL and you want to know which package includes that file:
- Searching all packages for a
+
+
+ Searching all packages for a
file
$ cygcheck -p 'cygintl-2\.dll'
@@ -170,7 +175,7 @@ Found 2 matches for '/ls\.exe'.
coreutils-5.2.1-5 GNU core utilities (includes fileutils, sh-utils and textutils)
coreutils-5.3.0-6 GNU core utilities (includes fileutils, sh-utils and textutils)
-
+
Note that this option takes a regular expression, not a glob or
wildcard. This means that you need to use .* if you
@@ -1168,19 +1173,25 @@ on domain controllers and domain member machines.
multiple domains) where the UIDs might match otherwise. The
-p option causes mkpasswd to use
the specified prefix instead of the account home dir or /home/
- . For example, this command: . For example, this command:
+
+
+ Using an alternate home root
$ mkpasswd -l -p "$(cygpath -H)" > /etc/passwd
- would put local users' home directories in the Windows
+
+
+
+ would put local users' home directories in the Windows
'Profiles' directory. The -u option creates just an
entry for the specified user. The -U option allows you
to enumerate the standard UNIX users on a Samba machine. It's used
together with -l samba-server or -L
samba-server. The normal UNIX users are usually not enumerated,
but they can show up as file owners in ls -l output.
-
+