Olaf Kober Posted March 9, 2011 Report Share Posted March 9, 2011 Is there a way to supply a comment when creating a new label via command line? My command line is following: cm makelabel <name> -s That's working fine. But how to specify a comment like "Version abc for blah"? In Plastic GUI I can do that! Thanks, Olaf PS: cm makelabel --help does not tell anything about comments. Link to comment Share on other sites More sharing options...
psantosl Posted March 9, 2011 Report Share Posted March 9, 2011 Yes, comments on the CLI are one of our best kept secrets We only unveil it to power users... You've to use the -c arg. cm mklabel name -c="my comment" Link to comment Share on other sites More sharing options...
Olaf Kober Posted March 9, 2011 Author Report Share Posted March 9, 2011 Hehe! Too bad, I tried -c:"blah" before, because cm checkin expects it so, but cm makelabel <name> -s -c="blah" is working. Maybe you should fix whether "=" or ":" is the way to go in all commands... Thanks, Olaf Link to comment Share on other sites More sharing options...
psantosl Posted March 9, 2011 Report Share Posted March 9, 2011 Don't we always use "="?? I'll try to get -c documented (is a classic task in the team that slips sprint after sprint, and yes, I'm the ultimate culprit... ) Link to comment Share on other sites More sharing options...
Olaf Kober Posted March 9, 2011 Author Report Share Posted March 9, 2011 Hmmm, that might be a misinterpretation on my side. cm checkin --help returns under section Options following: -c: gives a comment to the changeset created in the check in operation. Since there is no example, I thought that this means -c:"blah". I thought that the colon would be the delimiter between option key and option value. I never tried it. Maybe you can add an example to the help section and I should read the manuals more carefully... Greetings Olaf Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.