-V Command-line Option
Return to Introduction  Previous page  Next page
The -V option allows you to select earlier versions of a file and also can be used to assign Version Labels during certain commands. The -V option can be used to select either a specific revision or a revision/file containing a Version Label.

The following table lists ways to use the -V option.

Option
Description
-VR1.2
Selects revision 1.2
-VL"My Label"
Selects the revision/file with label My Label attached. If used in the context of CreateView and UpdateView, causes the basis of the View to be My Label.
-VA"My Label"
When a command allows you to assign a label, for example the CheckIn command, this option allows you to specify the version label to assign.
-VCA"New Label"
Similar to the -VA option, but creates a new version label.
-VD"DateTime"
AttachLabel only. Allows you to specify the revision by a timestamp rather than a Version Label. The revision selected will be the latest revision created before or on the DateTime specified. DateTime should be enclosed in double-quotes in your local format. e.g. -VD"29/12/2003 23:00"
-VP"Promotion Level"
CreateView and UpdateView only. If basing the View on a Promotion Level, use this command switch.


Other uses:

The history report uses the following flags:

Option
Description
-VF"1.2.3"
Lists all revisions starting at the one containing the version label 1.2.3
-VT"1.3.4"
Lists revisions up to the revision containing version label 1.3.4 . Should be combined with -VF to specify a range.
-VI
If included, the revision containing the 'from' version label will not be output in the report.


 


© 1995-2018 MCN Software