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

Tony Hoyle tmh at nodomain.org
Tue Jan 11 02:00:42 GMT 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


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
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook