This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: cygpath patch
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: cygwin-apps at cygwin dot com
- Date: Tue, 15 Jan 2002 12:58:26 +0100
- Subject: Re: cygpath patch
- References: <20020115021409.19064.qmail@web20001.mail.yahoo.com>
- Reply-to: cygwin-apps at cygwin dot com
On Mon, Jan 14, 2002 at 06:14:09PM -0800, Joshua Franklin wrote:
> Well, I've attached the patch in case anyone is
> interested. It changes cygpath.exe to include the
> options:
> -A|--allusers use `All Users' directories
> instead of current user
> -D|--desktop print `Desktop' directory
> -P|--smprograms print Start Menu `Programs'
> directory
Thanks for the patch. I applied it to my local sandbox but I
was somewhat surprised about the behaviour since
cygpath -D -A
has another result as
cygpath -A -D
which is not what a user expects. The options should be scanned
and after the scanning they should be evaluated (right after the
switch statement). Would you mind to change your patch accordingly?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.