The following table lists ways to use the -C option:
Option
|
Description
|
-C
|
All items receive the same comment
|
-C-
|
No comment is used
|
-Ctext
|
Uses the string text as the comment for all items
|
-C@File.txt
|
Uses the contents of File.txt as the comment for all items
|
A few operations, for example CheckOut, CheckIn, and CreateLbl will prompt for a comment by default. If running these commands in a batch file you should use an option other than the -C option so that user input is not required.
If you want to enter a carriage return when entering comments at the command line, use: \n
Defaults
TC gives you the option of providing a comment for each file you check out or in. This is the default behavior. The comment tells other users why you checked the file out or what changes were made when checking in
You can modify the default behaviour of TC by specifying a default setting for comments in the TC.INI file. Add the Comment= line to the [Defaults] section of the TC.INI file specifying one of the following:
Does not prompt for a comment:
Comment=-C-
|
Prompts for one comment for all files:
Comment=-C
|
Reads the specified text file as a comment:
Comment=-C@filename
|
Uses the specified comment:
Comment=-Ccomment
|
To override the default, specify another -C option on the command line.
© 1995-2018 MCN Software