[cvsnt] Re: Bug in command line parsing for tag command

Jerzy Kaczorowski jerzyk at wndtabs.com
Tue Jan 11 22:53:00 GMT 2005


Tony,

OK, I see what's going on now. Not very nice but I guess I can live with
that ;)

Best Regards,
Jerzy


----- Original Message ----- 
From: "Tony Hoyle" <tmh at nodomain.org>
Newsgroups: support.cvsnt
To: <cvsnt at cvsnt.org>
Sent: Tuesday, January 11, 2005 2:00
Subject: Re: [cvsnt] Re: Bug in command line parsing for tag command


> Jerzy Kaczorowski wrote:
> >>"a" is an argument.  You want:
> >>cvs.exe tag -- a -hyphenfile.txt
> >
> >
> > The syntax is correct. "a" is an argument - tag name here - and after
that
>
> Yes it's an argument, not an option.
>
> > it's followed by a double-hyphen to mark the end of options. After a
"--"
>
> "--" marks the end of options...
>
> > there can be only files, and that is how the files starting with hyphen
can
>
> ..or other arguments.
>
> > be properly handled by all other commands. If you don't specify the end
of
> > options command parser can't tell what's the file and takes the first
> > character following the hyphen as an option resulting in errors, e.g.:
>
> You don't need to - cvsnt has done this automatically for a long time now.
>
> Tony
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
>





More information about the cvsnt mailing list