* cygpath.cc: Add option to output windows paths in different formats: "dos"

and "mixed".
(main): Process options.
(doit): Check new options flags.
This commit is contained in:
Christopher Faylor
2002-06-07 19:25:26 +00:00
parent f43a747271
commit 2bd6505b39
3 changed files with 69 additions and 6 deletions

View File

@@ -83,6 +83,9 @@ Usage: cygpath [-A|--allusers] (-D|--desktop)|(-P|--smprograms) [-s|--short-name
-p|--path filename argument is a path
-s|--short-name print Windows short form of filename
-u|--unix print Unix form of filename
-t|--type print Windows form of filename with specified
dos drive letter with backslashes (c:\winnt)
mixed drive letter with regular slashes (c:/winnt)
-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