summaryrefslogtreecommitdiffstats
path: root/winsup/utils/utils.sgml
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2002-05-15 11:36:00 +0000
committerCorinna Vinschen <corinna@vinschen.de>2002-05-15 11:36:00 +0000
commite355de817c95c1b5b3fa98c0e5e2863a1ecb7679 (patch)
tree05b35b8f46743afc1ffc178f10ff5a1615467bc3 /winsup/utils/utils.sgml
parent5588e287656755ccf77f8939470c3fde41b7a1d7 (diff)
downloadcygnal-e355de817c95c1b5b3fa98c0e5e2863a1ecb7679.tar.gz
cygnal-e355de817c95c1b5b3fa98c0e5e2863a1ecb7679.tar.bz2
cygnal-e355de817c95c1b5b3fa98c0e5e2863a1ecb7679.zip
* cygpath.cc (get_short_paths): Fix more error checking.
(get_short_name): Ditto. * cygpath.cc (main): Add option H to show the Windows' profiles directory. Support short names for options DPSW. Clean up copied code lines. * utils.sgml: Update cygpath section for H option and s support.
Diffstat (limited to 'winsup/utils/utils.sgml')
-rw-r--r--winsup/utils/utils.sgml16
1 files changed, 10 insertions, 6 deletions
diff --git a/winsup/utils/utils.sgml b/winsup/utils/utils.sgml
index 3c59d2741..cbda63184 100644
--- a/winsup/utils/utils.sgml
+++ b/winsup/utils/utils.sgml
@@ -82,6 +82,7 @@ Usage: cygpath.exe [-p|--path] (-u|--unix)|(-w|--windows [-s|--short-name]) file
-v|--version output version information and exit
-w|--windows print Windows form of filename
-A|--allusers use `All Users' instead of current user for -D, -P
+ -H|--homeroot output `Profiles' directory (home root) and exit\n\
-D|--desktop output `Desktop' directory and exit
-P|--smprograms output Start Menu `Programs' directory and exit
-S|--sysdir output system directory and exit
@@ -127,15 +128,18 @@ done
</example>
<para>The capital options
-<literal>-D</literal>, <literal>-P</literal>, <literal>-S</literal>, and
-<literal>-W</literal> output directories used by Windows that are not the
-same on all systems, for example <literal>-S</literal> might output
-C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM. The <literal>-A</literal> option
-forces use of the "All Users" directories instead of the current user
-for the <literal>-D</literal> and <literal>-P</literal> options.
+<literal>-D</literal>, <literal>-H</literal>, <literal>-P</literal>,
+<literal>-S</literal>, and <literal>-W</literal> output directories used
+by Windows that are not the same on all systems, for example
+<literal>-S</literal> might output C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM.
+The <literal>-A</literal> option forces use of the "All Users" directories
+instead of the current user for the <literal>-D</literal> and
+<literal>-P</literal> options. The <literal>-H</literal> shows the Windows'
+profiles directory that can be used as root of home.
On Win9x systems with only a single user, <literal>-A</literal> has no
effect; <literal>-D</literal> and <literal>-AD</literal> would have the
same output.
+The <literal>-ws</literal> options can be combined with the capital options.
</sect2>