Home All Groups Group Topic Archive Search About


Author
26 Nov 2007 3:59 AM
MinersC
I believe I've come across a compatability issue that has been introduced in
the CTP. I have several command line tools that take parameters in the
format --flag. That is two dashes then the flag name. In CTP the double
dashes are stripped and only the flag text is passed as a parameter. This
can be recreated easily by entering the following three lines and checking
the output.

In PowerShell v1.0:
1> echo --test
--test
2> echo '--test'
--test

In PowerShell v2.0 CTP:
1> echo --test
test
2> echo '--test'
--test

Corey Miners

AddThis Social Bookmark Button