[cvsnt] Re: Bug in command line parsing for tag command
Tony Hoyle
tmh at nodomain.org
Tue Jan 11 02:00:42 GMT 2005
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
More information about the cvsnt
mailing list